sevago-sso-fe 1.0.44 → 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
@@ -8306,17 +8306,13 @@ const APP_OBJ = {
8306
8306
  },
8307
8307
  // BLUE
8308
8308
  [
8309
- "Tiến trình"
8310
- /* TRACKING */
8309
+ "Dự án"
8310
+ /* PROJECT */
8311
8311
  ]: {
8312
- path: "tracking",
8313
- //
8314
- icon: sevagoIcon,
8315
- //
8316
- content: "Sevago - Tracking",
8317
- //
8312
+ path: "project",
8313
+ icon: sevagoProjectIcon,
8314
+ content: "Sevago - Dự án",
8318
8315
  group: "Workflow Engine",
8319
- //
8320
8316
  color: APP_GROUP_COLOR[
8321
8317
  "Workflow Engine"
8322
8318
  /* WORKFLOW_ENGINE */
@@ -8336,13 +8332,17 @@ const APP_OBJ = {
8336
8332
  ]
8337
8333
  },
8338
8334
  [
8339
- "Dự án"
8340
- /* PROJECT */
8335
+ "Tiến trình"
8336
+ /* TRACKING */
8341
8337
  ]: {
8342
- path: "project",
8343
- icon: sevagoProjectIcon,
8344
- content: "Sevago - Dự án",
8338
+ path: "process",
8339
+ //
8340
+ icon: sevagoIcon,
8341
+ //
8342
+ content: "Sevago - Tiến trình",
8343
+ //
8345
8344
  group: "Workflow Engine",
8345
+ //
8346
8346
  color: APP_GROUP_COLOR[
8347
8347
  "Workflow Engine"
8348
8348
  /* WORKFLOW_ENGINE */
@@ -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();