Move SubgraphNode components

This commit is contained in:
Austin Mroz
2025-09-27 16:19:03 -05:00
parent e91bbf030b
commit 94f6778285
3 changed files with 9 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n'
import draggable from 'vuedraggable'
import SearchBox from '@/components/common/SearchBox.vue'
import SubgraphNodeWidget from '@/components/selectionbar/SubgraphNodeWidget.vue'
import SubgraphNodeWidget from '@/core/graph/subgraph/SubgraphNodeWidget.vue'
import {
type ProxyWidgetsProperty,
parseProxyWidgets

View File

@@ -11,14 +11,12 @@ export function showSubgraphNodeDialog() {
position: 'right'
}
//FIXME: the vuedraggable import has unknown sideffects that break tests.
void import('@/components/selectionbar/SubgraphNode.vue').then(
(SubgraphNode) => {
dialogStore.showDialog({
title: 'Parameters',
key,
component: SubgraphNode,
dialogComponentProps
})
}
)
void import('@/core/graph/subgraph/SubgraphNode.vue').then((SubgraphNode) => {
dialogStore.showDialog({
title: 'Parameters',
key,
component: SubgraphNode.default,
dialogComponentProps
})
})
}