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.cjs.js CHANGED
@@ -8335,7 +8335,7 @@ const APP_OBJ = {
8335
8335
  "Tiến trình"
8336
8336
  /* TRACKING */
8337
8337
  ]: {
8338
- path: "workflow",
8338
+ path: "process",
8339
8339
  //
8340
8340
  icon: sevagoIcon,
8341
8341
  //
@@ -8352,7 +8352,7 @@ const APP_OBJ = {
8352
8352
  "Quy trình"
8353
8353
  /* PROCESS */
8354
8354
  ]: {
8355
- path: "process",
8355
+ path: "workflow",
8356
8356
  // Quy trình
8357
8357
  icon: sevagoIcon,
8358
8358
  content: "Sevago - Quy trình",
@@ -24587,6 +24587,9 @@ const AppsSidebar = ({
24587
24587
  captionColor: theme.palette.grey[600],
24588
24588
  selectedAppId: currentApp?.path,
24589
24589
  onClickItem: async (app) => {
24590
+ if (app.path === currentApp?.path) {
24591
+ return;
24592
+ }
24590
24593
  await dispatch(
24591
24594
  ACTION_ACCOUNT.resetCurrentAccessToBase(app.path)
24592
24595
  ).unwrap();