permissions didn't initialize at app start
This commit is contained in:
parent
4549b770ab
commit
664ea58e1e
|
@ -104,6 +104,8 @@ Ext.define('DE.controller.Main', {
|
|||
},
|
||||
|
||||
loadDocument: function(data) {
|
||||
this.permissions = {};
|
||||
|
||||
if ( data.doc ) {
|
||||
this.permissions = data.doc.permissions;
|
||||
|
||||
|
|
Loading…
Reference in a new issue