diff --git a/desktop/angular/src/app/pages/support/form/support-form.ts b/desktop/angular/src/app/pages/support/form/support-form.ts index 1b2e8ed1..fe9b8672 100644 --- a/desktop/angular/src/app/pages/support/form/support-form.ts +++ b/desktop/angular/src/app/pages/support/form/support-form.ts @@ -84,7 +84,7 @@ export class SupportFormComponent implements OnInit { this.statusService.getVersions() .subscribe(status => { this.version = status.Core.Version; - this.buildDate = status.Core.BuildDate; + this.buildDate = status.Core.BuildTime; }) this.route.paramMap diff --git a/desktop/angular/src/app/services/status.types.ts b/desktop/angular/src/app/services/status.types.ts index 52013c90..38bfa6fc 100644 --- a/desktop/angular/src/app/services/status.types.ts +++ b/desktop/angular/src/app/services/status.types.ts @@ -72,15 +72,20 @@ export interface Subsystem extends Record { } export interface CoreVersion { - BuildDate: string; - BuildHost: string; - BuildOptions: string; - BuildSource: string; - BuildUser: string; - Commit: string; - License: string; - Name: string; - Version: string; + // Copied from base/info/version.go + + Name: string; + Version: string; + VersionNumber: string; + License: string; + + Source: string; + BuildTime: string; + CGO: boolean; + + Commit: string; + CommitTime: string; + Dirty: boolean; } export interface ResourceVersion {