1
0
mirror of https://github.com/NicolasConstant/sengi synced 2025-02-08 16:08:40 +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 { boost(): boolean {
if (this.boostIsLoading) return; if (this.boostIsLoading) return false;
this.boostIsLoading = true; this.boostIsLoading = true;
const account = this.toolsService.getSelectedAccounts()[0]; const account = this.toolsService.getSelectedAccounts()[0];
@ -225,7 +225,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
} }
favorite(): boolean { favorite(): boolean {
if (this.favoriteIsLoading) return; if (this.favoriteIsLoading) return false;
this.favoriteIsLoading = true; this.favoriteIsLoading = true;
const account = this.toolsService.getSelectedAccounts()[0]; const account = this.toolsService.getSelectedAccounts()[0];
@ -260,7 +260,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
} }
bookmark(): boolean { bookmark(): boolean {
if (this.bookmarkingIsLoading) return; if (this.bookmarkingIsLoading) return false;
this.bookmarkingIsLoading = true; this.bookmarkingIsLoading = true;