From 5f7a230fd38668868f4812f6524fbcc8e983534a Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:11:48 +0200 Subject: [PATCH] Bugfix/fix sidebar on user account page (#2413) * Fix sidebar on user account page * Update changelog --- CHANGELOG.md | 6 ++++++ apps/client/src/app/app.component.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 692208064..91432d854 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Fixed + +- Fixed the sidebar navigation on the user account page + ## 2.7.0 - 2023-09-30 ### Added diff --git a/apps/client/src/app/app.component.ts b/apps/client/src/app/app.component.ts index f260f4bbd..d1d9529ce 100644 --- a/apps/client/src/app/app.component.ts +++ b/apps/client/src/app/app.component.ts @@ -112,6 +112,7 @@ export class AppComponent implements OnDestroy, OnInit { this.hasTabs = (this.currentRoute === this.routerLinkAbout[0].slice(1) || + this.currentRoute === 'account' || this.currentRoute === 'admin' || this.currentRoute === 'home' || this.currentRoute === 'portfolio' ||