Fixes note db state issue

This commit is contained in:
Mo Bitar
2020-03-20 23:40:23 -05:00
parent 0ef1ce8ef1
commit d76e03c70f
6 changed files with 125 additions and 85 deletions

View File

@@ -16,6 +16,7 @@ export class PureCtrl extends ApplicationService {
this.$timeout = $timeout;
this.appState = appState;
this.props = {};
this.state = {};
/* Allow caller constructor to finish setting instance variables */
setImmediate(() => {
this.state = this.getInitialState();