mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(editor): fix resource locator width for trigger nodes (#4302)
This commit is contained in:
parent
561245b6e0
commit
845d1f8bd9
|
@ -427,9 +427,11 @@ export default mixins(debounceHelper, workflowHelpers, nodeHelpers).extend({
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$on('refreshList', this.refreshList);
|
this.$on('refreshList', this.refreshList);
|
||||||
this.setWidth();
|
|
||||||
window.addEventListener('resize', this.setWidth);
|
window.addEventListener('resize', this.setWidth);
|
||||||
this.mainPanelMutationSubscription = this.$store.subscribe(this.setWidthOnMainPanelResize);
|
this.mainPanelMutationSubscription = this.$store.subscribe(this.setWidthOnMainPanelResize);
|
||||||
|
setTimeout(() => {
|
||||||
|
this.setWidth();
|
||||||
|
}, 0);
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
// Unsubscribe
|
// Unsubscribe
|
||||||
|
|
Loading…
Reference in a new issue