- fixed updating appl data from response;
This commit is contained in:
@@ -932,6 +932,7 @@ const DomandaEditInstructorManager = () => {
|
|||||||
|
|
||||||
const getAmendmentSpecialCallback = (data) => {
|
const getAmendmentSpecialCallback = (data) => {
|
||||||
if (data.status === 'SUCCESS') {
|
if (data.status === 'SUCCESS') {
|
||||||
|
setData(getFormattedData(data.data));
|
||||||
if (toast.current && data.message) {
|
if (toast.current && data.message) {
|
||||||
toast.current.show({
|
toast.current.show({
|
||||||
severity: 'success',
|
severity: 'success',
|
||||||
|
|||||||
@@ -932,6 +932,7 @@ const DomandaEditPreInstructor = () => {
|
|||||||
|
|
||||||
const getAmendmentSpecialCallback = (data) => {
|
const getAmendmentSpecialCallback = (data) => {
|
||||||
if (data.status === 'SUCCESS') {
|
if (data.status === 'SUCCESS') {
|
||||||
|
setData(getFormattedData(data.data));
|
||||||
if (toast.current && data.message) {
|
if (toast.current && data.message) {
|
||||||
toast.current.show({
|
toast.current.show({
|
||||||
severity: 'success',
|
severity: 'success',
|
||||||
|
|||||||
Reference in New Issue
Block a user