Fix gui version

This commit is contained in:
everoddandeven 2024-10-19 20:07:07 +02:00
parent 1dd60366d8
commit 55c784d6fd
3 changed files with 8 additions and 3 deletions

View file

@ -1166,7 +1166,7 @@ export class DaemonService {
} }
public getGuiVersion(): string { public getGuiVersion(): string {
return "0.1.0-alpha"; return "0.1.0-rc";
} }
public async getProcessStats(): Promise<ProcessStats> { public async getProcessStats(): Promise<ProcessStats> {

View file

@ -19,7 +19,7 @@
<h3 class="card-title mb-0">Monerod GUI</h3> <h3 class="card-title mb-0">Monerod GUI</h3>
</div> </div>
<div class="card-body"> <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"> <p class="card-text">
Copyright &#169; 2024, everoddandeven Copyright &#169; 2024, everoddandeven
<br> <br>

View file

@ -1,5 +1,6 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { NavbarLink } from '../../shared/components/navbar/navbar.model'; import { NavbarLink } from '../../shared/components/navbar/navbar.model';
import { DaemonService } from '../../core/services';
@Component({ @Component({
selector: 'app-about', selector: 'app-about',
@ -11,7 +12,11 @@ export class AboutComponent {
new NavbarLink('pills-overview-tab', '#pills-overview', 'pills-overview', true, 'Overview') new NavbarLink('pills-overview-tab', '#pills-overview', 'pills-overview', true, 'Overview')
]; ];
constructor() { public get guiVersion(): string {
return this.daemonService.getGuiVersion();
}
constructor(private daemonService: DaemonService) {
} }