mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-14 09:14:16 +01:00
Added way to allow/block alias target at creation/modification.
see #2013
This commit is contained in:
@@ -169,7 +169,7 @@ function display(element) {
|
||||
element.display.split('&').forEach((rule) => {
|
||||
let [field, value] = rule.split('=')
|
||||
if (value === 'true' || value === 'false') {
|
||||
value = Boolean(value)
|
||||
value = value === 'true'
|
||||
}
|
||||
result &= parameters.value[field] === value
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user