We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532ea49 commit 8a7e41bCopy full SHA for 8a7e41b
ui/src/views/function-lib/index.vue
@@ -404,7 +404,11 @@ async function changeState(bool: Boolean, row: any) {
404
})
405
} else {
406
const res = await functionLibApi.getFunctionLibById(row.id, changeStateloading)
407
- if (!res.data.init_params && res.data.init_field_list && res.data.init_field_list.length > 0) {
+ if (!res.data.init_params &&
408
+ res.data.init_field_list &&
409
+ res.data.init_field_list.length > 0 &&
410
+ res.data.init_field_list.filter((item: any) => item.default_value).length !== res.data.init_field_list.length
411
+ ) {
412
InitParamDrawerRef.value.open(res.data, bool)
413
row.is_active = false
414
return
0 commit comments