From c048678844c77ce61bc7a373b27e0125c41ff324 Mon Sep 17 00:00:00 2001 From: seve12 <88939547+seve12@users.noreply.github.com> Date: Tue, 5 Aug 2025 20:22:09 +0300 Subject: [PATCH] Update router.js --- config/router.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/router.js b/config/router.js index 888393cfd..27edd4b50 100644 --- a/config/router.js +++ b/config/router.js @@ -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(