sevago-sso-fe 1.0.45 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -8317,7 +8317,7 @@ const APP_OBJ = {
8317
8317
  "Tiến trình"
8318
8318
  /* TRACKING */
8319
8319
  ]: {
8320
- path: "workflow",
8320
+ path: "process",
8321
8321
  //
8322
8322
  icon: sevagoIcon,
8323
8323
  //
@@ -8334,7 +8334,7 @@ const APP_OBJ = {
8334
8334
  "Quy trình"
8335
8335
  /* PROCESS */
8336
8336
  ]: {
8337
- path: "process",
8337
+ path: "workflow",
8338
8338
  // Quy trình
8339
8339
  icon: sevagoIcon,
8340
8340
  content: "Sevago - Quy trình",
@@ -24569,6 +24569,9 @@ const AppsSidebar = ({
24569
24569
  captionColor: theme.palette.grey[600],
24570
24570
  selectedAppId: currentApp?.path,
24571
24571
  onClickItem: async (app) => {
24572
+ if (app.path === currentApp?.path) {
24573
+ return;
24574
+ }
24572
24575
  await dispatch(
24573
24576
  ACTION_ACCOUNT.resetCurrentAccessToBase(app.path)
24574
24577
  ).unwrap();