Add expression support to credentials

This commit is contained in:
Jan Oberhauser
2021-01-24 13:33:57 +01:00
parent b33a5fcd13
commit 1dedb3f4b8
6 changed files with 56 additions and 27 deletions

View File

@@ -240,10 +240,6 @@ export default mixins(
return returnValues.join('|');
},
node (): INodeUi | null {
if (this.isCredential === true) {
return null;
}
return this.$store.getters.activeNode;
},
displayTitle (): string {
@@ -314,7 +310,7 @@ export default mixins(
return false;
},
expressionValueComputed (): NodeParameterValue | null {
if (this.isCredential === true || this.node === null) {
if (this.node === null) {
return null;
}