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.cjs.js CHANGED
@@ -6990,6 +6990,10 @@ const resetCurrentAccessToBase = toolkit.createAsyncThunk(
6990
6990
  "RESET_CURRENT_ACCESS_TO_BASE",
6991
6991
  (current_access) => {
6992
6992
  const basePath = current_access.split("/")[0];
6993
+ const { origin: origin2, pathname } = window.location;
6994
+ const currentBase = pathname.split("/")[1];
6995
+ if (currentBase === basePath) return basePath;
6996
+ window.history.pushState({}, "", `${origin2}/${basePath}`);
6993
6997
  return basePath;
6994
6998
  }
6995
6999
  );
@@ -8302,17 +8306,13 @@ const APP_OBJ = {
8302
8306
  },
8303
8307
  // BLUE
8304
8308
  [
8305
- "Tiến trình"
8306
- /* TRACKING */
8309
+ "Dự án"
8310
+ /* PROJECT */
8307
8311
  ]: {
8308
- path: "tracking",
8309
- //
8310
- icon: sevagoIcon,
8311
- //
8312
- content: "Sevago - Tracking",
8313
- //
8312
+ path: "project",
8313
+ icon: sevagoProjectIcon,
8314
+ content: "Sevago - Dự án",
8314
8315
  group: "Workflow Engine",
8315
- //
8316
8316
  color: APP_GROUP_COLOR[
8317
8317
  "Workflow Engine"
8318
8318
  /* WORKFLOW_ENGINE */
@@ -8332,13 +8332,17 @@ const APP_OBJ = {
8332
8332
  ]
8333
8333
  },
8334
8334
  [
8335
- "Dự án"
8336
- /* PROJECT */
8335
+ "Tiến trình"
8336
+ /* TRACKING */
8337
8337
  ]: {
8338
- path: "project",
8339
- icon: sevagoProjectIcon,
8340
- content: "Sevago - Dự án",
8338
+ path: "workflow",
8339
+ //
8340
+ icon: sevagoIcon,
8341
+ //
8342
+ content: "Sevago - Tiến trình",
8343
+ //
8341
8344
  group: "Workflow Engine",
8345
+ //
8342
8346
  color: APP_GROUP_COLOR[
8343
8347
  "Workflow Engine"
8344
8348
  /* WORKFLOW_ENGINE */