Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 3364-zone_events
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2021-11-17 12:38:52 +01:00
commit 1a95b03359
3 changed files with 3 additions and 4 deletions

View File

@ -135,8 +135,7 @@
"type": "string",
"mysql": {
"columnName": "businessTypeFk"
},
"required": true
}
}
},
"relations": {

View File

@ -84,7 +84,7 @@ export default class Controller extends Section {
];
const hasExcludedParams = excludedParams.some(param => {
return $params && $params[param];
return $params && $params[param] != undefined;
});
const hasParams = Object.entries($params).length;
if (!hasParams || !hasExcludedParams)

View File

@ -14,7 +14,7 @@ export default class Ticket extends ModuleMain {
];
const hasExcludedParams = excludedParams.some(param => {
return $params && $params[param];
return $params && $params[param] != undefined;
});
const hasParams = Object.entries($params).length;
if (!hasParams || !hasExcludedParams)