Merge branch 'master' of github.com:standardnotes/web into 004

This commit is contained in:
Mo Bitar
2020-02-08 20:37:09 -06:00
2 changed files with 4 additions and 2 deletions

View File

@@ -193,7 +193,8 @@ class ComponentViewCtrl {
const avoidFlickerTimeout = 7;
this.$timeout(() => {
this.loading = false;
this.issueLoading = !!desktopError;
// eslint-disable-next-line no-unneeded-ternary
this.issueLoading = desktopError ? true : false;
this.onLoad && this.onLoad(this.component);
}, avoidFlickerTimeout);
}