@truedat/core 5.15.2 → 5.16.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/core",
3
- "version": "5.15.2",
3
+ "version": "5.16.3",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -117,5 +117,5 @@
117
117
  "react-dom": ">= 16.8.6 < 17",
118
118
  "semantic-ui-react": ">= 2.0.3 < 2.2"
119
119
  },
120
- "gitHead": "c1454a0ebd579263c17b3abea9715fc1ca3cf9ae"
120
+ "gitHead": "04f0a731f5a7fb410b71939dcce10e8c5c67c37f"
121
121
  }
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { useAuthorized } from "../hooks";
3
3
  import {
4
- GRANT_REQUEST_APPROVALS,
4
+ GRANT_REQUESTS,
5
5
  MY_GRANTS,
6
6
  GRANTS,
7
7
  GRANT_APPROVAL_RULES,
@@ -25,7 +25,7 @@ const items = [
25
25
  },
26
26
  {
27
27
  name: "grant_request_approvals",
28
- routes: [GRANT_REQUEST_APPROVALS],
28
+ routes: [GRANT_REQUESTS],
29
29
  groups: ["grants_management"],
30
30
  },
31
31
  {
@@ -47,7 +47,7 @@ exports[`<GrantMenu /> matches the latest snapshot 1`] = `
47
47
  ],
48
48
  "name": "grant_request_approvals",
49
49
  "routes": [
50
- "/grantRequestApprovals",
50
+ "/grantRequests",
51
51
  ],
52
52
  },
53
53
  {
package/src/routes.js CHANGED
@@ -64,7 +64,8 @@ export const GRANTS = "/grants";
64
64
  export const GRANTS_REQUESTS_CHECKOUT = "/grantsRequests/checkout";
65
65
  export const GRANT_REQUEST = "/grantRequests/:id";
66
66
  export const GRANT_REQUESTS = "/grantRequests";
67
- export const GRANT_REQUEST_APPROVALS = "/grantRequestApprovals";
67
+ export const GRANT_REQUESTS_APPROVALS_RESULT =
68
+ "/grantRequests/approvals/result";
68
69
  export const GRAPH = "/graphs/:id";
69
70
  export const GRAPHS = "/graphs";
70
71
  export const GROUP = "/groups/:id";
@@ -260,6 +261,7 @@ const routes = {
260
261
  CONFIGURATION,
261
262
  CONFIGURATION_EDIT,
262
263
  DASHBOARD,
264
+ DATA_VIEWS,
263
265
  DOMAIN,
264
266
  DOMAINS,
265
267
  DOMAINS_ACTIONS,
@@ -283,7 +285,7 @@ const routes = {
283
285
  GRANTS_REQUESTS_CHECKOUT,
284
286
  GRANT_REQUEST,
285
287
  GRANT_REQUESTS,
286
- GRANT_REQUEST_APPROVALS,
288
+ GRANT_REQUESTS_APPROVALS_RESULT,
287
289
  GRAPH,
288
290
  GRAPHS,
289
291
  GROUP,