Pull Request branch dev-clone to main #1
|
|
@ -124,7 +124,7 @@ export default function AspectFormModal() {
|
||||||
: "",
|
: "",
|
||||||
};
|
};
|
||||||
await updateAspect(payload);
|
await updateAspect(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
queryClient.invalidateQueries({ queryKey: ["management-aspect"] });
|
queryClient.invalidateQueries({ queryKey: ["management-aspect"] });
|
||||||
|
|
||||||
|
|
@ -167,7 +167,9 @@ export default function AspectFormModal() {
|
||||||
}}
|
}}
|
||||||
disabled={formType === "detail"}
|
disabled={formType === "detail"}
|
||||||
/>
|
/>
|
||||||
<Text>Jumlah Soal: {field.questionCount}</Text>
|
{formType === "detail" && (
|
||||||
|
<Text>Jumlah Soal: {field.questionCount}</Text>
|
||||||
|
)}
|
||||||
{formType !== "detail" && (
|
{formType !== "detail" && (
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user