fix(salesMonitor): allow scope days to zero
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b7e58aa9cd
commit
2bc20242e6
|
@ -84,7 +84,7 @@ export default class Controller extends Section {
|
||||||
];
|
];
|
||||||
|
|
||||||
const hasExcludedParams = excludedParams.some(param => {
|
const hasExcludedParams = excludedParams.some(param => {
|
||||||
return $params && $params[param];
|
return $params && $params[param] != undefined;
|
||||||
});
|
});
|
||||||
const hasParams = Object.entries($params).length;
|
const hasParams = Object.entries($params).length;
|
||||||
if (!hasParams || !hasExcludedParams)
|
if (!hasParams || !hasExcludedParams)
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default class Ticket extends ModuleMain {
|
||||||
];
|
];
|
||||||
|
|
||||||
const hasExcludedParams = excludedParams.some(param => {
|
const hasExcludedParams = excludedParams.some(param => {
|
||||||
return $params && $params[param];
|
return $params && $params[param] != undefined;
|
||||||
});
|
});
|
||||||
const hasParams = Object.entries($params).length;
|
const hasParams = Object.entries($params).length;
|
||||||
if (!hasParams || !hasExcludedParams)
|
if (!hasParams || !hasExcludedParams)
|
||||||
|
|
Loading…
Reference in New Issue