1
0
mirror of https://github.com/NicolasConstant/sengi synced 2025-01-21 21:28:22 +01:00

fix app reload on double-clic on fav/boost/etc

This commit is contained in:
Nicolas Constant 2021-03-12 18:44:03 -05:00
parent 28065912b2
commit 21ad2cffb6
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688

View File

@ -185,7 +185,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
}
boost(): boolean {
if (this.boostIsLoading) return;
if (this.boostIsLoading) return false;
this.boostIsLoading = true;
const account = this.toolsService.getSelectedAccounts()[0];
@ -223,9 +223,9 @@ export class ActionBarComponent implements OnInit, OnDestroy {
return false;
}
favorite(): boolean {
if (this.favoriteIsLoading) return;
if (this.favoriteIsLoading) return false;
this.favoriteIsLoading = true;
const account = this.toolsService.getSelectedAccounts()[0];
@ -260,7 +260,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
}
bookmark(): boolean {
if (this.bookmarkingIsLoading) return;
if (this.bookmarkingIsLoading) return false;
this.bookmarkingIsLoading = true;