Perbaikan PPOB

This commit is contained in:
2022-01-12 17:10:08 +07:00
parent c95d0c3f46
commit 248f844115
4 changed files with 52 additions and 23 deletions

View File

@@ -255,6 +255,16 @@ export const Membership = observer(() => {
];
const onSubmit = async (data, image, imageStore) => {
data.superior = true;
console.log(imageStore, "Apa imageStore")
if(!imageStore){
imageStore = []
}
if (initialData.id) {
data.image_identity = image;
data.image_store = imageStore;
}
if (initialData.id) {
setConfirmLoading(true);