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

This commit is contained in:
everoddandeven 2024-10-28 21:49:14 +01:00
parent 3d350409e0
commit 1f9c79e6b4
3 changed files with 8 additions and 7 deletions

View file

@ -37,7 +37,7 @@
"build": "npm run electron:serve-tsc && ng build --base-href ./",
"build:dev": "npm run build -- -c dev",
"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 ../../../../../",
"web:build": "npm run build -- -c web-production",
"electron": "electron",

View file

@ -256,9 +256,11 @@ export class DaemonDataService {
this.refresh().then(() => {
this.refreshInterval = setInterval(() => {
setTimeout(() => {
this.refresh().then().catch((error: any) => {
console.error(error);
});
}, 0);
},this.refreshTimeoutMs);
}).catch((error: any) => {
console.error(error);

View file

@ -39,7 +39,6 @@ export class DetailComponent extends BasePageComponent implements AfterViewInit
}
}
public get daemonRunning(): boolean {
return this.daemonData.running;
}
@ -212,7 +211,7 @@ export class DetailComponent extends BasePageComponent implements AfterViewInit
if (!this.daemonRunning && !this.daemonService.starting) {
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[] = [];