fix(striker-ui): handle unchecked/empty file location

main
Tsu-ba-me 1 year ago
parent 548e227f63
commit c39364a35b
  1. 2
      striker-ui/components/Files/FileInputGroup.tsx

@ -82,7 +82,7 @@ const FileInputGroup: FC<FileInputGroupProps> = (props) => {
return { return {
id: activeChain, id: activeChain,
name: activeChain, name: activeChain,
checked: formik.values[fuuid].locations?.[type][uuid].active, checked: formik.values[fuuid].locations?.[type]?.[uuid]?.active,
onBlur: handleBlur, onBlur: handleBlur,
onChange: handleChange, onChange: handleChange,
}; };

Loading…
Cancel
Save