mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
⚡ Render empty array in variable selector (#1537)
This commit is contained in:
parent
538d34510d
commit
dab82965a4
|
@ -114,6 +114,9 @@ export default mixins(
|
|||
// Has still options left so return
|
||||
inputData.options = this.sortOptions(newOptions);
|
||||
return inputData;
|
||||
} else if (Array.isArray(newOptions) && newOptions.length === 0) {
|
||||
delete inputData.options;
|
||||
return inputData;
|
||||
}
|
||||
// Has no options left so remove
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue