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:
parent
28065912b2
commit
21ad2cffb6
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user