mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 14:48:48 +01:00
Update router.js
This commit is contained in:
parent
ce419ce64e
commit
c048678844
1 changed files with 3 additions and 1 deletions
|
|
@ -225,7 +225,9 @@ FlowRouter.route('/global-search', {
|
|||
|
||||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
DocHead.setTitle(TAPi18n.__('globalSearch-title'));
|
||||
const currentSetting = ReactiveCache.getCurrentSetting && ReactiveCache.getCurrentSetting();
|
||||
const productName = currentSetting && currentSetting.productName ? currentSetting.productName : 'Wekan';
|
||||
DocHead.setTitle(`${TAPi18n.__('globalSearch-title')} - ${productName}`);
|
||||
|
||||
if (FlowRouter.getQueryParam('q')) {
|
||||
Session.set(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue