mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-22 19:49:27 +00:00
Minor fixes
Some checks are pending
MacOS Build / build (20) (push) Waiting to run
Ubuntu 22.04 - AppImage Build / build (20) (push) Waiting to run
Ubuntu 22.04 - x64 DEB Build / build (20) (push) Waiting to run
Ubuntu 24.04 - x64 DEB Build / build (20) (push) Waiting to run
Windows Build / build (20) (push) Waiting to run
Some checks are pending
MacOS Build / build (20) (push) Waiting to run
Ubuntu 22.04 - AppImage Build / build (20) (push) Waiting to run
Ubuntu 22.04 - x64 DEB Build / build (20) (push) Waiting to run
Ubuntu 24.04 - x64 DEB Build / build (20) (push) Waiting to run
Windows Build / build (20) (push) Waiting to run
This commit is contained in:
parent
3d350409e0
commit
1f9c79e6b4
3 changed files with 8 additions and 7 deletions
|
@ -37,7 +37,7 @@
|
||||||
"build": "npm run electron:serve-tsc && ng build --base-href ./",
|
"build": "npm run electron:serve-tsc && ng build --base-href ./",
|
||||||
"build:dev": "npm run build -- -c dev",
|
"build:dev": "npm run build -- -c dev",
|
||||||
"build:prod": "npm run build -- -c production",
|
"build:prod": "npm run build -- -c production",
|
||||||
"electron:package:deb": "electron-packager . monerod-gui --platform linux --arch x64 --out dist/ --ignore=/e2e --ignore=/release --ignore=/src --overwrite && mv dist/src dist/monerod-gui-linux-x64/resources/app/src",
|
"electron:package:deb": "electron-packager . monerod-gui --platform linux --arch x64 --out dist/ --ignore=/node_modules --ignore=/e2e --ignore=/release --ignore=/src --overwrite && mv dist/src dist/monerod-gui-linux-x64/resources/app/src",
|
||||||
"build:prod:deb": "npm run build:prod && cp -R dist/ temp && mv temp dist/src && npm run electron:package:deb && cd dist/monerod-gui-linux-x64/resources/app/app && npm install && cd ../../../../../",
|
"build:prod:deb": "npm run build:prod && cp -R dist/ temp && mv temp dist/src && npm run electron:package:deb && cd dist/monerod-gui-linux-x64/resources/app/app && npm install && cd ../../../../../",
|
||||||
"web:build": "npm run build -- -c web-production",
|
"web:build": "npm run build -- -c web-production",
|
||||||
"electron": "electron",
|
"electron": "electron",
|
||||||
|
|
|
@ -256,9 +256,11 @@ export class DaemonDataService {
|
||||||
|
|
||||||
this.refresh().then(() => {
|
this.refresh().then(() => {
|
||||||
this.refreshInterval = setInterval(() => {
|
this.refreshInterval = setInterval(() => {
|
||||||
this.refresh().then().catch((error: any) => {
|
setTimeout(() => {
|
||||||
console.error(error);
|
this.refresh().then().catch((error: any) => {
|
||||||
});
|
console.error(error);
|
||||||
|
});
|
||||||
|
}, 0);
|
||||||
},this.refreshTimeoutMs);
|
},this.refreshTimeoutMs);
|
||||||
}).catch((error: any) => {
|
}).catch((error: any) => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
|
@ -37,8 +37,7 @@ export class DetailComponent extends BasePageComponent implements AfterViewInit
|
||||||
minutes: minutes < 10 ? `0${minutes}` : `${minutes}`,
|
minutes: minutes < 10 ? `0${minutes}` : `${minutes}`,
|
||||||
seconds: seconds < 10 ? `0${seconds}` : `${seconds}`
|
seconds: seconds < 10 ? `0${seconds}` : `${seconds}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public get daemonRunning(): boolean {
|
public get daemonRunning(): boolean {
|
||||||
return this.daemonData.running;
|
return this.daemonData.running;
|
||||||
|
@ -212,7 +211,7 @@ export class DetailComponent extends BasePageComponent implements AfterViewInit
|
||||||
if (!this.daemonRunning && !this.daemonService.starting) {
|
if (!this.daemonRunning && !this.daemonService.starting) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
const loading = this.daemonData.initializing || this.daemonService.starting;
|
const loading = this.daemonData.initializing || this.daemonService.starting || this.daemonData.info === undefined || this.daemonData.syncInfo === undefined;
|
||||||
|
|
||||||
const cards: SimpleBootstrapCard[] = [];
|
const cards: SimpleBootstrapCard[] = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue