frontend: update version format in ConsoleNavComponent and standardize edition enum values

This commit is contained in:
juancarmore 2025-07-19 00:19:56 +02:00
parent 8e95f1e372
commit 1a5c1c37ab
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -10,6 +10,6 @@ export enum ApplicationMode {
} }
export enum Edition { export enum Edition {
CE = 'ce', CE = 'CE',
PRO = 'pro' PRO = 'PRO'
} }