fix(editor): Fix node authentication options ordering and hiding options based on node version (#5268)
* 🐛 Fixing auth options order and hiding options that are not valid for current node version * 🔨 Minor refactoring
This commit is contained in:
committed by
GitHub
parent
92ae9885ce
commit
7d7418140e
@@ -56,7 +56,7 @@ const activeNodeType = computed<INodeTypeDescription | null>(() => {
|
||||
});
|
||||
|
||||
const authOptions = computed<NodeAuthenticationOption[]>(() => {
|
||||
return getNodeAuthOptions(activeNodeType.value);
|
||||
return getNodeAuthOptions(activeNodeType.value, ndvStore.activeNode?.typeVersion);
|
||||
});
|
||||
|
||||
const filteredNodeAuthOptions = computed<NodeAuthenticationOption[]>(() => {
|
||||
|
||||
Reference in New Issue
Block a user