Skip to content

Commit

Permalink
chore(parameter-input): remove useless casting
Browse files Browse the repository at this point in the history
Signed-off-by: mateonunez <[email protected]>
  • Loading branch information
mateonunez committed Jan 19, 2025
1 parent c0ee010 commit cd9ef1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/ParameterInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ const editorLanguage = computed<CodeNodeEditorLanguage>(() => {
const parameterOptions = computed<INodePropertyOptions[] | undefined>(() => {
if (!hasRemoteMethod.value) {
const options = props.parameter.options as INodePropertyOptions[];
const nodeValue = ndvStore.activeNode as INodeUi;
const nodeValue = ndvStore.activeNode!;
if (!nodeValue) {
return options;
}
Expand Down

0 comments on commit cd9ef1d

Please sign in to comment.