chore: add api-version and bind with footer

This commit is contained in:
tekh 2025-08-08 13:26:15 +02:00
parent 3bffdabc64
commit 88cffc12a5
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{
"name": "user-manager-ui",
"version": "6.1.3",
"version": "4.1.0",
"minApiVersion":"6.1.3",
"scripts": {
"ng": "ng",
"start:ssl": "ng serve --ssl -o",

View File

@ -1,7 +1,7 @@
import { Component } from '@angular/core';
import { MatToolbarModule } from '@angular/material/toolbar';
import { RouterModule } from '@angular/router';
import { name, version } from '../../../../package.json';
import { name, version, minApiVersion } from '../../../../package.json';
@Component({
selector: 'app-footer',
@ -13,5 +13,5 @@ import { name, version } from '../../../../package.json';
styleUrl: './footer.component.scss'
})
export class FooterComponent {
appVersion: string = name + ' v' + version;
appVersion: string = `${name} v${version} | ${minApiVersion}`;
}