sevago-sso-fe 1.0.43 → 1.0.45

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
@@ -6972,6 +6972,10 @@ const resetCurrentAccessToBase = createAsyncThunk(
6972
6972
  "RESET_CURRENT_ACCESS_TO_BASE",
6973
6973
  (current_access) => {
6974
6974
  const basePath = current_access.split("/")[0];
6975
+ const { origin: origin2, pathname } = window.location;
6976
+ const currentBase = pathname.split("/")[1];
6977
+ if (currentBase === basePath) return basePath;
6978
+ window.history.pushState({}, "", `${origin2}/${basePath}`);
6975
6979
  return basePath;
6976
6980
  }
6977
6981
  );
@@ -8284,17 +8288,13 @@ const APP_OBJ = {
8284
8288
  },
8285
8289
  // BLUE
8286
8290
  [
8287
- "Tiến trình"
8288
- /* TRACKING */
8291
+ "Dự án"
8292
+ /* PROJECT */
8289
8293
  ]: {
8290
- path: "tracking",
8291
- //
8292
- icon: sevagoIcon,
8293
- //
8294
- content: "Sevago - Tracking",
8295
- //
8294
+ path: "project",
8295
+ icon: sevagoProjectIcon,
8296
+ content: "Sevago - Dự án",
8296
8297
  group: "Workflow Engine",
8297
- //
8298
8298
  color: APP_GROUP_COLOR[
8299
8299
  "Workflow Engine"
8300
8300
  /* WORKFLOW_ENGINE */
@@ -8314,13 +8314,17 @@ const APP_OBJ = {
8314
8314
  ]
8315
8315
  },
8316
8316
  [
8317
- "Dự án"
8318
- /* PROJECT */
8317
+ "Tiến trình"
8318
+ /* TRACKING */
8319
8319
  ]: {
8320
- path: "project",
8321
- icon: sevagoProjectIcon,
8322
- content: "Sevago - Dự án",
8320
+ path: "workflow",
8321
+ //
8322
+ icon: sevagoIcon,
8323
+ //
8324
+ content: "Sevago - Tiến trình",
8325
+ //
8323
8326
  group: "Workflow Engine",
8327
+ //
8324
8328
  color: APP_GROUP_COLOR[
8325
8329
  "Workflow Engine"
8326
8330
  /* WORKFLOW_ENGINE */