ソースを参照

fix not refesh after save

master
Alex Cheung 1年前
コミット
ed1c841fc2
2個のファイルの変更3行の追加3行の削除
  1. +1
    -1
      src/pages/pnspsUserDetailPage/index.js
  2. +2
    -2
      src/pages/pnspsUserGroupDetailPage/index.js

+ 1
- 1
src/pages/pnspsUserDetailPage/index.js ファイルの表示

@@ -144,7 +144,7 @@ const UserMaintainPage = () => {
"removeAuthIds": deletedUserAuth,
},
).then((response) => {
if (response.status === 200) {
if (response.status === 204) {
// notifySaveSuccess();
navigate('/userSearchview');
}


+ 2
- 2
src/pages/pnspsUserGroupDetailPage/index.js ファイルの表示

@@ -12,7 +12,7 @@ import {
GeneralConfirmWindow,
getDeletedRecordWithRefList,
getIdList,
notifyDeleteSuccess,
// notifyDeleteSuccess,
// notifySaveSuccess
} from "../../utils/CommonFunction";
import {POST_AND_UPDATE_USER_GROUP,GET_GROUP_LIST_PATH } from "../../utils/ApiPathConst";
@@ -58,7 +58,7 @@ const UserMaintainPage = () => {
)
.then((response) => {
if (response.status === 204) {
notifyDeleteSuccess();
// notifyDeleteSuccess();
setIsWindowOpen(false);
navigate('/usergroupSearchview');
}


読み込み中…
キャンセル
保存