mirror of
https://github.com/safing/portmaster
synced 2025-04-17 17:39:10 +00:00
[desktop] Fix version information in UI
This commit is contained in:
parent
8abe04cb07
commit
7df0fbb614
2 changed files with 15 additions and 10 deletions
desktop/angular/src/app
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue