mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Replace new Vue() with custom event bus (no-changelog) (#5780)
* refactor: replace new Vue() with custom event bus (no-changelog) * fix: export types from design system main * fix: update component types * fix: update form inputs event bus
This commit is contained in:
@@ -24,7 +24,7 @@ import { INodeTypeDescription } from 'n8n-workflow';
|
||||
import mixins from 'vue-typed-mixins';
|
||||
import { workflowRun } from '@/mixins/workflowRun';
|
||||
import { pinData } from '@/mixins/pinData';
|
||||
import { dataPinningEventBus } from '@/event-bus/data-pinning-event-bus';
|
||||
import { dataPinningEventBus } from '@/event-bus';
|
||||
import { mapStores } from 'pinia';
|
||||
import { useWorkflowsStore } from '@/stores/workflows';
|
||||
import { useNDVStore } from '@/stores/ndv';
|
||||
@@ -195,7 +195,7 @@ export default mixins(workflowRun, pinData).extend({
|
||||
);
|
||||
|
||||
if (shouldUnpinAndExecute) {
|
||||
dataPinningEventBus.$emit('data-unpinning', { source: 'unpin-and-execute-modal' });
|
||||
dataPinningEventBus.emit('data-unpinning', { source: 'unpin-and-execute-modal' });
|
||||
this.workflowsStore.unpinData({ node: this.node });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user