mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
added details, deathdate, hair color, weight to performers and added details to studios (#1274)
* added details to performers and studios * added deathdate, hair_color and weight to performers * Simplify performer/studio create mutations * Add changelog and recategorised Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -381,7 +381,7 @@ export const PerformerSelect: React.FC<IFilterProps> = (props) => {
|
||||
|
||||
const onCreate = async (name: string) => {
|
||||
const result = await createPerformer({
|
||||
variables: { name },
|
||||
variables: { input: { name } },
|
||||
});
|
||||
return {
|
||||
item: result.data!.performerCreate!,
|
||||
@@ -415,7 +415,11 @@ export const StudioSelect: React.FC<
|
||||
);
|
||||
|
||||
const onCreate = async (name: string) => {
|
||||
const result = await createStudio({ variables: { name } });
|
||||
const result = await createStudio({
|
||||
variables: {
|
||||
input: { name },
|
||||
},
|
||||
});
|
||||
return { item: result.data!.studioCreate!, message: "Created studio" };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user