frontend: update version format in ConsoleNavComponent and standardize edition enum values
This commit is contained in:
parent
8e95f1e372
commit
1a5c1c37ab
@ -37,7 +37,7 @@ export class ConsoleNavComponent {
|
|||||||
@Output() onLogoutClicked: EventEmitter<void> = new EventEmitter<void>();
|
@Output() onLogoutClicked: EventEmitter<void> = new EventEmitter<void>();
|
||||||
|
|
||||||
constructor(private appDataService: AppDataService) {
|
constructor(private appDataService: AppDataService) {
|
||||||
this.version = this.appDataService.getVersion();
|
this.version = `${this.appDataService.getVersion()} (${this.appDataService.getEdition()})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
async toggleSideMenu() {
|
async toggleSideMenu() {
|
||||||
|
|||||||
@ -10,6 +10,6 @@ export enum ApplicationMode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export enum Edition {
|
export enum Edition {
|
||||||
CE = 'ce',
|
CE = 'CE',
|
||||||
PRO = 'pro'
|
PRO = 'PRO'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user