Cleanup more iError && data.Result

This commit is contained in:
djmaze 2021-03-18 14:48:21 +01:00
parent 87bee226b4
commit ce74b2e92f
19 changed files with 78 additions and 100 deletions

View file

@ -54,7 +54,7 @@ export class AccountsUserSettings {
this.accounts.remove((account) => accountToRemove === account);
Remote.accountDelete((iError, data) => {
if (!iError && data && data.Result && data.Reload) {
if (!iError && data.Reload) {
rl.route.root();
setTimeout(() => location.reload(), 1);
} else {