mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-20 09:27:44 +03: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 New Issue
Block a user