Fix header and about page (#44)
This commit is contained in:
parent
6ecf66ea2a
commit
19ada83d0b
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user