[PE SSE mobile] Fix appOptions
This commit is contained in:
parent
5832ba5551
commit
5e3730d416
|
@ -6,7 +6,10 @@ export class storeAppOptions {
|
|||
isEdit: observable,
|
||||
canViewComments: observable,
|
||||
setConfigOptions: action,
|
||||
setPermissionOptions: action
|
||||
setPermissionOptions: action,
|
||||
|
||||
lostEditingRights: observable,
|
||||
changeEditingRights: action
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -14,6 +17,11 @@ export class storeAppOptions {
|
|||
canViewComments = false;
|
||||
config = {};
|
||||
|
||||
lostEditingRights = false;
|
||||
changeEditingRights (value) {
|
||||
this.lostEditingRights = value;
|
||||
}
|
||||
|
||||
setConfigOptions (config) {
|
||||
this.config = config;
|
||||
this.user = Common.Utils.fillUserInfo(config.user, config.lang, "Local.User"/*me.textAnonymous*/);
|
||||
|
|
|
@ -6,7 +6,10 @@ export class storeAppOptions {
|
|||
isEdit: observable,
|
||||
canViewComments: observable,
|
||||
setConfigOptions: action,
|
||||
setPermissionOptions: action
|
||||
setPermissionOptions: action,
|
||||
|
||||
lostEditingRights: observable,
|
||||
changeEditingRights: action
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -14,6 +17,11 @@ export class storeAppOptions {
|
|||
config = {};
|
||||
canViewComments = false;
|
||||
|
||||
lostEditingRights = false;
|
||||
changeEditingRights (value) {
|
||||
this.lostEditingRights = value;
|
||||
}
|
||||
|
||||
setConfigOptions (config, _t) {
|
||||
this.config = config;
|
||||
this.customization = config.customization;
|
||||
|
|
Loading…
Reference in a new issue