mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-01-03 09:29:36 +00:00
Fix gui version
This commit is contained in:
parent
1dd60366d8
commit
55c784d6fd
3 changed files with 8 additions and 3 deletions
|
@ -1166,7 +1166,7 @@ export class DaemonService {
|
|||
}
|
||||
|
||||
public getGuiVersion(): string {
|
||||
return "0.1.0-alpha";
|
||||
return "0.1.0-rc";
|
||||
}
|
||||
|
||||
public async getProcessStats(): Promise<ProcessStats> {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<h3 class="card-title mb-0">Monerod GUI</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-subtitle mb-2 text-muted">Version: 0.1.0-beta</h5>
|
||||
<h5 class="card-subtitle mb-2 text-muted">Version: {{ guiVersion }}</h5>
|
||||
<p class="card-text">
|
||||
Copyright © 2024, everoddandeven
|
||||
<br>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
||||
import { DaemonService } from '../../core/services';
|
||||
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
|
@ -11,7 +12,11 @@ export class AboutComponent {
|
|||
new NavbarLink('pills-overview-tab', '#pills-overview', 'pills-overview', true, 'Overview')
|
||||
];
|
||||
|
||||
constructor() {
|
||||
public get guiVersion(): string {
|
||||
return this.daemonService.getGuiVersion();
|
||||
}
|
||||
|
||||
constructor(private daemonService: DaemonService) {
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue