Perbaikan PPOB
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user