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.esm.js CHANGED
@@ -8288,17 +8288,13 @@ const APP_OBJ = {
8288
8288
  },
8289
8289
  // BLUE
8290
8290
  [
8291
- "Tiến trình"
8292
- /* TRACKING */
8291
+ "Dự án"
8292
+ /* PROJECT */
8293
8293
  ]: {
8294
- path: "tracking",
8295
- //
8296
- icon: sevagoIcon,
8297
- //
8298
- content: "Sevago - Tracking",
8299
- //
8294
+ path: "project",
8295
+ icon: sevagoProjectIcon,
8296
+ content: "Sevago - Dự án",
8300
8297
  group: "Workflow Engine",
8301
- //
8302
8298
  color: APP_GROUP_COLOR[
8303
8299
  "Workflow Engine"
8304
8300
  /* WORKFLOW_ENGINE */
@@ -8318,13 +8314,17 @@ const APP_OBJ = {
8318
8314
  ]
8319
8315
  },
8320
8316
  [
8321
- "Dự án"
8322
- /* PROJECT */
8317
+ "Tiến trình"
8318
+ /* TRACKING */
8323
8319
  ]: {
8324
- path: "project",
8325
- icon: sevagoProjectIcon,
8326
- content: "Sevago - Dự án",
8320
+ path: "process",
8321
+ //
8322
+ icon: sevagoIcon,
8323
+ //
8324
+ content: "Sevago - Tiến trình",
8325
+ //
8327
8326
  group: "Workflow Engine",
8327
+ //
8328
8328
  color: APP_GROUP_COLOR[
8329
8329
  "Workflow Engine"
8330
8330
  /* WORKFLOW_ENGINE */
@@ -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();