[desktop] Fix version information in UI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user