Commit e36b7336 authored by Bryce Johnson's avatar Bryce Johnson

Improve naming with initState -> initWidgetState.

parent 4756f4dd
...@@ -18,12 +18,11 @@ ...@@ -18,12 +18,11 @@
this.data = {}; this.data = {};
// init other widget stores here // init other widget stores here
this.initState(); this.initWidgetState();
this.initApprovals(); this.initApprovals();
} }
initState() { initWidgetState() {
this.assignToData('loading', true);
this.assignToData('showWidgetBody', true); this.assignToData('showWidgetBody', true);
this.assignToData('showApprovals', false); this.assignToData('showApprovals', false);
this.assignToData('disableAcceptance', false); this.assignToData('disableAcceptance', false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment