diff --git a/src/app/components/settings-sidebar/settings-sidebar.component.ts b/src/app/components/settings-sidebar/settings-sidebar.component.ts index ee568382e807..cbdc2c4cefc8 100755 --- a/src/app/components/settings-sidebar/settings-sidebar.component.ts +++ b/src/app/components/settings-sidebar/settings-sidebar.component.ts @@ -545,18 +545,22 @@ export class SettingsSidebarComponent implements OnInit { if (this.route.indexOf('/hours') !== -1) { this.OPERATING_HOURS_ROUTE_IS_ACTIVE = true - this.logger.log( - '[SETTING-SIDEBAR] - OPERATING_HOURS_ROUTE_IS_ACTIVE ', - this.OPERATING_HOURS_ROUTE_IS_ACTIVE, - ) + this.logger.log('[SETTING-SIDEBAR] - OPERATING_HOURS_ROUTE_IS_ACTIVE ',this.OPERATING_HOURS_ROUTE_IS_ACTIVE) } else { this.OPERATING_HOURS_ROUTE_IS_ACTIVE = false - this.logger.log( - '[SETTING-SIDEBAR] - OPERATING_HOURS_ROUTE_IS_ACTIVE ', - this.OPERATING_HOURS_ROUTE_IS_ACTIVE, - ) + this.logger.log('[SETTING-SIDEBAR] - OPERATING_HOURS_ROUTE_IS_ACTIVE ',this.OPERATING_HOURS_ROUTE_IS_ACTIVE) } + if (this.route.indexOf('/knowledge-bases') !== -1) { + this.KNOWLEDGE_BASES_ROUTE_IS_ACTIVE = true + this.logger.log('[SETTING-SIDEBAR] - KNOWLEDGE_BASES_ROUTE_IS_ACTIVE ',this.KNOWLEDGE_BASES_ROUTE_IS_ACTIVE) + } else { + this.KNOWLEDGE_BASES_ROUTE_IS_ACTIVE = false + this.logger.log('[SETTING-SIDEBAR] - KNOWLEDGE_BASES_ROUTE_IS_ACTIVE ',this.KNOWLEDGE_BASES_ROUTE_IS_ACTIVE) + } + + + if (this.route.indexOf('/project-settings/') !== -1) { this.PROJECT_SETTINGS_ROUTE_IS_ACTIVE = true this.logger.log(