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