- updated code related to ndg;
This commit is contained in:
@@ -646,6 +646,12 @@ const DomandaEditInstructorManager = () => {
|
|||||||
detail: data.message
|
detail: data.message
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (data.data.ndg) {
|
||||||
|
setData((data) => ({
|
||||||
|
...data,
|
||||||
|
ndg: data.data.ndg
|
||||||
|
}));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
storeSet.main.unsetAsyncRequest();
|
storeSet.main.unsetAsyncRequest();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -646,6 +646,12 @@ const DomandaEditPreInstructor = () => {
|
|||||||
detail: data.message
|
detail: data.message
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (data.data.ndg) {
|
||||||
|
setData((data) => ({
|
||||||
|
...data,
|
||||||
|
ndg: data.data.ndg
|
||||||
|
}));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
storeSet.main.unsetAsyncRequest();
|
storeSet.main.unsetAsyncRequest();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user