forked from Techsystech/web
[FIX] web_m2x_options: Error if not web_m2x_options set on session
parent
1c6d9cd008
commit
c3acb6e641
|
@ -325,7 +325,7 @@ patch(FormController.prototype, {
|
|||
* add more method to add subview limit on formview
|
||||
*/
|
||||
async _setSubViewLimit() {
|
||||
const ir_options = session.web_m2x_options;
|
||||
const ir_options = session.web_m2x_options || {};
|
||||
const activeFields = this.archInfo.fieldNodes,
|
||||
isSmall = this.user;
|
||||
|
||||
|
|
Loading…
Reference in New Issue