mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat(editor): Add support for changing sticky notes color in new canvas (no-changelog) (#10593)
This commit is contained in:
@@ -36,6 +36,7 @@ import type {
|
||||
import type { Connection, ViewportTransform } from '@vue-flow/core';
|
||||
import type {
|
||||
CanvasConnectionCreateData,
|
||||
CanvasEventBusEvents,
|
||||
CanvasNode,
|
||||
CanvasNodeMoveEvent,
|
||||
ConnectStartEvent,
|
||||
@@ -137,7 +138,7 @@ const pushConnectionStore = usePushConnectionStore();
|
||||
const ndvStore = useNDVStore();
|
||||
const templatesStore = useTemplatesStore();
|
||||
|
||||
const canvasEventBus = createEventBus();
|
||||
const canvasEventBus = createEventBus<CanvasEventBusEvents>();
|
||||
|
||||
const { addBeforeUnloadEventBindings, removeBeforeUnloadEventBindings } = useBeforeUnload({
|
||||
route,
|
||||
@@ -1346,7 +1347,7 @@ function fitView() {
|
||||
}
|
||||
|
||||
function selectNodes(ids: string[]) {
|
||||
setTimeout(() => canvasEventBus.emit('selectNodes', ids));
|
||||
setTimeout(() => canvasEventBus.emit('nodes:select', { ids }));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user