Fix movies sorting, scene studio editing (#1478)

* Fix movies:sort_by->scenes_count, scene:edit->remove studio
This commit is contained in:
bnkai
2021-06-04 02:21:17 +03:00
committed by GitHub
parent 2ce4d9f0d8
commit ad0a9d0707
6 changed files with 40 additions and 9 deletions

View File

@@ -618,7 +618,7 @@ export const SceneEditPanel: React.FC<IProps> = ({
onSelect={(items) =>
formik.setFieldValue(
"studio_id",
items.length > 0 ? items[0]?.id : undefined
items.length > 0 ? items[0]?.id : null
)
}
ids={formik.values.studio_id ? [formik.values.studio_id] : []}