mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
🐛 Fix issue that it displayed URLs after credential change for all
node types
This commit is contained in:
@@ -43,6 +43,7 @@ import {
|
|||||||
NodeHelpers,
|
NodeHelpers,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
import { WEBHOOK_NODE_NAME } from '@/constants';
|
||||||
import { copyPaste } from '@/components/mixins/copyPaste';
|
import { copyPaste } from '@/components/mixins/copyPaste';
|
||||||
import { showMessage } from '@/components/mixins/showMessage';
|
import { showMessage } from '@/components/mixins/showMessage';
|
||||||
import { workflowHelpers } from '@/components/mixins/workflowHelpers';
|
import { workflowHelpers } from '@/components/mixins/workflowHelpers';
|
||||||
@@ -62,7 +63,7 @@ export default mixins(
|
|||||||
],
|
],
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
isMinimized: this.nodeType.name !== 'n8n-nodes-base.webhook',
|
isMinimized: this.nodeType.name !== WEBHOOK_NODE_NAME,
|
||||||
showUrlFor: 'test',
|
showUrlFor: 'test',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -111,7 +112,7 @@ export default mixins(
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
node () {
|
node () {
|
||||||
this.isMinimized = false;
|
this.isMinimized = this.nodeType.name !== WEBHOOK_NODE_NAME;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user