mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -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,
|
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;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue