@truedat/core 5.12.2 → 5.12.6
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 +2 -2
- package/src/components/QxMenu.js +5 -2
- package/src/routes.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/core",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.6",
|
|
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": "
|
|
120
|
+
"gitHead": "33fe738c833b300740386b38da2a94e193e9f510"
|
|
121
121
|
}
|
package/src/components/QxMenu.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { useAuthorized } from "../hooks";
|
|
3
|
-
import { DATA_SETS } from "../routes";
|
|
3
|
+
import { DATA_SETS, FUNCTIONS } from "../routes";
|
|
4
4
|
import Submenu from "./Submenu";
|
|
5
5
|
|
|
6
|
-
export const ITEMS = [
|
|
6
|
+
export const ITEMS = [
|
|
7
|
+
{ name: "data_sets", routes: [DATA_SETS] },
|
|
8
|
+
{ name: "functions", routes: [FUNCTIONS] },
|
|
9
|
+
];
|
|
7
10
|
|
|
8
11
|
export default function QxMenu() {
|
|
9
12
|
const authorized = useAuthorized();
|
package/src/routes.js
CHANGED
|
@@ -53,6 +53,7 @@ export const DOMAIN_NEW = "/domains/:id/new";
|
|
|
53
53
|
export const DOMAIN_STRUCTURES = "/domains/:id/structures";
|
|
54
54
|
export const EXECUTION_GROUP = "/executionGroups/:id";
|
|
55
55
|
export const EXECUTION_GROUPS = "/executionGroups";
|
|
56
|
+
export const FUNCTIONS = "/functions";
|
|
56
57
|
export const GRANT_APPROVAL_RULE = "/grantApproveRules/:id";
|
|
57
58
|
export const GRANT_APPROVAL_RULE_NEW = "/grantApproveRules/new";
|
|
58
59
|
export const GRANT_APPROVAL_RULE_EDIT = "/grantApproveRules/:id/edit";
|