Restyle missing node warning dialog (#1348)

* nit

* Restyle missing node warning dialog

* nit

* nit
This commit is contained in:
Chenlei Hu
2024-10-28 16:45:47 -04:00
committed by GitHub
parent 997b5ee819
commit 229896a4b7
4 changed files with 39 additions and 98 deletions

View File

@@ -14,16 +14,12 @@ import { i18n } from '@/i18n'
export function showLoadWorkflowWarning(props: {
missingNodeTypes: any[]
hasAddedNodes: boolean
[key: string]: any
}) {
const dialogStore = useDialogStore()
dialogStore.showDialog({
component: LoadWorkflowWarning,
props,
dialogComponentProps: {
maximizable: true
}
props
})
}