File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ function useVueNodeLifecycleIndividual() {
2525
2626 const isVueNodeToastDismissed = useVueNodesMigrationDismissed ( )
2727
28+ let hasShownMigrationToast = false
29+
2830 const initializeNodeManager = ( ) => {
2931 // Use canvas graph if available (handles subgraph contexts), fallback to app graph
3032 const activeGraph = comfyApp . canvas ?. graph
@@ -85,8 +87,12 @@ function useVueNodeLifecycleIndividual() {
8587 ensureCorrectLayoutScale (
8688 comfyApp . canvas ?. graph ?. extra . workflowRendererVersion
8789 )
88- // Only show toast on explicit false-to-true transition, not on initial undefined-to-true
89- if ( wasEnabled === false && ! isVueNodeToastDismissed . value ) {
90+ if (
91+ wasEnabled === false &&
92+ ! isVueNodeToastDismissed . value &&
93+ ! hasShownMigrationToast
94+ ) {
95+ hasShownMigrationToast = true
9096 useToastStore ( ) . add ( {
9197 group : 'vue-nodes-migration' ,
9298 severity : 'info' ,
You can’t perform that action at this time.
0 commit comments