wekan/client/components/settings/settingHeader.js
Lauri Ojansivu ad511bd137 Fixed Add member and @mentions.
Thanks to xet7 !

Fixes #6076,
fixes #6077
2026-01-20 02:28:32 +02:00

22 lines
707 B
JavaScript

import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
Template.settingHeaderBar.helpers({
isSettingsActive() {
return FlowRouter.getRouteName() === 'setting' ? 'active' : '';
},
isPeopleActive() {
return FlowRouter.getRouteName() === 'people' ? 'active' : '';
},
isAdminReportsActive() {
return FlowRouter.getRouteName() === 'admin-reports' ? 'active' : '';
},
isAttachmentsActive() {
return FlowRouter.getRouteName() === 'attachments' ? 'active' : '';
},
isTranslationActive() {
return FlowRouter.getRouteName() === 'translation' ? 'active' : '';
},
isInformationActive() {
return FlowRouter.getRouteName() === 'information' ? 'active' : '';
},
});