|
|
@ -12,7 +12,7 @@ |
|
|
|
|
|
|
|
|
const saveFilter = async () => { |
|
|
const saveFilter = async () => { |
|
|
// Filter out null objects |
|
|
// Filter out null objects |
|
|
tempValue = tempValue.filter(optionValue => optionValue.value) |
|
|
tempValue = tempValue.filter(option => option.value && option.label) |
|
|
dispatch("change", tempValue) |
|
|
dispatch("change", tempValue) |
|
|
notifications.success("Options saved.") |
|
|
notifications.success("Options saved.") |
|
|
drawer.hide() |
|
|
drawer.hide() |
|
|
|