[desktop] Fix version information in UI
This commit is contained in:
@@ -84,7 +84,7 @@ export class SupportFormComponent implements OnInit {
|
|||||||
this.statusService.getVersions()
|
this.statusService.getVersions()
|
||||||
.subscribe(status => {
|
.subscribe(status => {
|
||||||
this.version = status.Core.Version;
|
this.version = status.Core.Version;
|
||||||
this.buildDate = status.Core.BuildDate;
|
this.buildDate = status.Core.BuildTime;
|
||||||
})
|
})
|
||||||
|
|
||||||
this.route.paramMap
|
this.route.paramMap
|
||||||
|
|||||||
@@ -72,15 +72,20 @@ export interface Subsystem extends Record {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface CoreVersion {
|
export interface CoreVersion {
|
||||||
BuildDate: string;
|
// Copied from base/info/version.go
|
||||||
BuildHost: string;
|
|
||||||
BuildOptions: string;
|
Name: string;
|
||||||
BuildSource: string;
|
Version: string;
|
||||||
BuildUser: string;
|
VersionNumber: string;
|
||||||
Commit: string;
|
License: string;
|
||||||
License: string;
|
|
||||||
Name: string;
|
Source: string;
|
||||||
Version: string;
|
BuildTime: string;
|
||||||
|
CGO: boolean;
|
||||||
|
|
||||||
|
Commit: string;
|
||||||
|
CommitTime: string;
|
||||||
|
Dirty: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ResourceVersion {
|
export interface ResourceVersion {
|
||||||
|
|||||||
Reference in New Issue
Block a user