Merge branch 'ent-11611-Error-al-abrir-Supernet-Treeview-en-IPAM' into 'develop'

fixed error

See merge request artica/pandorafms!6134
This commit is contained in:
Matias Didier 2023-07-10 13:56:20 +00:00
commit 13fb1a707b
1 changed files with 4 additions and 1 deletions

View File

@ -1560,7 +1560,10 @@ var TreeController = {
this.reload(); this.reload();
}, },
init: function(data) { init: function(data) {
if (data.filter.statusModule === "fired") { if (
typeof data.filter !== "undefined" &&
data.filter.statusModule === "fired"
) {
const newData = { const newData = {
ajaxUrl: data.ajaxURL, ajaxUrl: data.ajaxURL,
baseURL: data.baseURL, baseURL: data.baseURL,