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