Skip to content

Commit

Permalink
fix(editor): Do not break NDV for version-less nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Feb 22, 2024
1 parent 246f8cf commit 2db25b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/NodeSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
$locale.baseText('nodeSettings.nodeVersion', {
interpolate: {
node: nodeType?.displayName as string,
version: node.typeVersion.toString(),
version: (node.typeVersion ?? latestVersion).toString(),
},
})
}}
Expand Down

0 comments on commit 2db25b0

Please sign in to comment.