Browse Source

Fix header and about page (#44)

pull/45/head
Thomas 4 years ago
committed by GitHub
parent
commit
19ada83d0b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      CHANGELOG.md
  2. 2
      apps/client/src/app/components/header/header.component.html
  3. 2
      apps/client/src/app/pages/about/about-page.component.ts

7
CHANGELOG.md

@ -5,6 +5,13 @@ 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Fixed an issue in the header with outdated data
- Fixed an issue on the about page with outdated data
## 0.91.0 - 25.04.2021 ## 0.91.0 - 25.04.2021
### Added ### Added

2
apps/client/src/app/components/header/header.component.html

@ -150,7 +150,7 @@
>Account</a >Account</a
> >
<a <a
*ngIf="hasPermissionForAdminControl" *ngIf="hasPermissionToAccessAdminControl"
class="d-block d-sm-none" class="d-block d-sm-none"
[routerLink]="['/admin']" [routerLink]="['/admin']"
i18n i18n

2
apps/client/src/app/pages/about/about-page.component.ts

@ -42,6 +42,8 @@ export class AboutPageComponent implements OnInit {
info.globalPermissions, info.globalPermissions,
permissions.enableSubscription permissions.enableSubscription
); );
this.cd.markForCheck();
}); });
this.isLoggedIn = !!this.tokenStorageService.getToken(); this.isLoggedIn = !!this.tokenStorageService.getToken();

Loading…
Cancel
Save