1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 20:04:24 +02:00

update: forum/components/HeaderPrimary

This commit is contained in:
Matthew Kilgore
2020-08-04 20:06:50 -04:00
committed by Franz Liedke
parent 5a244dcfd2
commit e4f1a397d6

View File

@@ -11,13 +11,6 @@ export default class HeaderPrimary extends Component {
return <ul className="Header-controls">{listItems(this.items().toArray())}</ul>;
}
config(isInitialized, context) {
// Since this component is 'above' the content of the page (that is, it is a
// part of the global UI that persists between routes), we will flag the DOM
// to be retained across route changes.
context.retain = true;
}
/**
* Build an item list for the controls.
*