Rebuild Studio page by splitting view and edit (#1629)

* Rebuild Studio page by splitting view and edit
* Fix parent studio id, open studio link in same tab

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
gitgiggety
2021-08-11 06:44:18 +02:00
committed by GitHub
parent 53489106a6
commit d4d45d5a06
9 changed files with 450 additions and 259 deletions

View File

@@ -428,7 +428,7 @@ export const StudioSelect: React.FC<
IFilterProps & { excludeIds?: string[] }
> = (props) => {
const { data, loading } = useAllStudiosForFilter();
const [createStudio] = useStudioCreate({ name: "" });
const [createStudio] = useStudioCreate();
const exclude = props.excludeIds ?? [];
const studios = (data?.allStudios ?? []).filter(