mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
update: forum/components/HeaderSecondary (add search, finishing the header)
This commit is contained in:
committed by
Franz Liedke
parent
d05b63eddd
commit
5cd5f27769
@@ -27,7 +27,7 @@ export default class HeaderSecondary extends Component {
|
|||||||
items() {
|
items() {
|
||||||
const items = new ItemList();
|
const items = new ItemList();
|
||||||
|
|
||||||
// items.add('search', Search.component({ state: app.search }), 30);
|
items.add('search', Search.component({ state: app.search }), 30);
|
||||||
|
|
||||||
if (app.forum.attribute('showLanguageSelector') && Object.keys(app.data.locales).length > 1) {
|
if (app.forum.attribute('showLanguageSelector') && Object.keys(app.data.locales).length > 1) {
|
||||||
const locales = [];
|
const locales = [];
|
||||||
|
Reference in New Issue
Block a user