mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
🐛 Fix issue that it displayed URLs after credential change for all
node types
This commit is contained in:
parent
f29950ee81
commit
2afd93520a
|
@ -43,6 +43,7 @@ import {
|
|||
NodeHelpers,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { WEBHOOK_NODE_NAME } from '@/constants';
|
||||
import { copyPaste } from '@/components/mixins/copyPaste';
|
||||
import { showMessage } from '@/components/mixins/showMessage';
|
||||
import { workflowHelpers } from '@/components/mixins/workflowHelpers';
|
||||
|
@ -62,7 +63,7 @@ export default mixins(
|
|||
],
|
||||
data () {
|
||||
return {
|
||||
isMinimized: this.nodeType.name !== 'n8n-nodes-base.webhook',
|
||||
isMinimized: this.nodeType.name !== WEBHOOK_NODE_NAME,
|
||||
showUrlFor: 'test',
|
||||
};
|
||||
},
|
||||
|
@ -111,7 +112,7 @@ export default mixins(
|
|||
},
|
||||
watch: {
|
||||
node () {
|
||||
this.isMinimized = false;
|
||||
this.isMinimized = this.nodeType.name !== WEBHOOK_NODE_NAME;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue