refactor: reference openstapps framework vesion

This commit is contained in:
Rainer Killinger
2022-10-10 14:52:32 +02:00
parent 5a2d9f3075
commit 3e831c1648
2 changed files with 1 additions and 4 deletions

View File

@@ -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(

View File

@@ -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"