mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-16 11:16:20 +00:00
refactor: reference openstapps framework vesion
This commit is contained in:
@@ -28,8 +28,6 @@ export class AboutPageComponent implements OnInit {
|
||||
|
||||
version = packageJson.version;
|
||||
|
||||
appName: string;
|
||||
|
||||
constructor(
|
||||
private readonly route: ActivatedRoute,
|
||||
private readonly configProvider: ConfigProvider,
|
||||
@@ -37,7 +35,6 @@ export class AboutPageComponent implements OnInit {
|
||||
|
||||
async ngOnInit() {
|
||||
const route = this.route.snapshot.url.map(it => it.path).join('/');
|
||||
this.appName = (this.configProvider.getValue('name') as string) ?? 'StApps';
|
||||
this.content =
|
||||
(
|
||||
this.configProvider.getValue(
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<ion-content *ngIf="content">
|
||||
<pre>{{ appName }} v{{ version }}</pre>
|
||||
<pre>Open StApps Framework v{{ version }}</pre>
|
||||
<about-page-content
|
||||
*ngFor="let element of content.content"
|
||||
[content]="element"
|
||||
|
||||
Reference in New Issue
Block a user