Merge pull request #1167 from ubavic/customers-to-lower
fix: add fallback value to getAuthorizedStatus
This commit is contained in:
commit
374cb5efd6
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const getAuthorizedStatus = (it, triggers, customRequests) => {
|
||||||
!!R.find(
|
!!R.find(
|
||||||
ite => R.equals(ite.requirement, triggerName),
|
ite => R.equals(ite.requirement, triggerName),
|
||||||
manualOverrides
|
manualOverrides
|
||||||
) || R.equals(R.toLower(triggers.automation), MANUAL)
|
) || R.equals(R.toLower(triggers.automation ?? ''), MANUAL)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue