@visns-studio/visns-components 2.7.5 → 2.7.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.
|
@@ -372,7 +372,7 @@ const DataGrid = forwardRef(
|
|
|
372
372
|
};
|
|
373
373
|
|
|
374
374
|
const handleSort = (value) => {
|
|
375
|
-
if (
|
|
375
|
+
if (setConfig) {
|
|
376
376
|
setConfig((prevState) => {
|
|
377
377
|
const { id, dir } = value || {}; // Destructure id and dir from value (if provided)
|
|
378
378
|
const sortBy = id || null;
|
|
@@ -1143,7 +1143,7 @@ const DataGrid = forwardRef(
|
|
|
1143
1143
|
name: column.id,
|
|
1144
1144
|
sortable: false,
|
|
1145
1145
|
render: ({ data }) => {
|
|
1146
|
-
if (data) {
|
|
1146
|
+
if (data && data[column.id]) {
|
|
1147
1147
|
return (
|
|
1148
1148
|
<span>
|
|
1149
1149
|
<CloudDownload
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
Gear,
|
|
14
14
|
Grid,
|
|
15
15
|
Home,
|
|
16
|
+
Inbox,
|
|
16
17
|
LightBulb,
|
|
17
18
|
Microphone,
|
|
18
19
|
Newspaper,
|
|
@@ -118,6 +119,7 @@ function Navigation({
|
|
|
118
119
|
gear: Gear,
|
|
119
120
|
grid: Grid,
|
|
120
121
|
home: Home,
|
|
122
|
+
inbox: Inbox,
|
|
121
123
|
lightBulb: LightBulb,
|
|
122
124
|
microphone: Microphone,
|
|
123
125
|
newspaper: Newspaper,
|
package/package.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@inovua/reactdatagrid-community": "^5.10.2",
|
|
4
4
|
"add": "^2.0.6",
|
|
5
|
-
"akar-icons": "^1.9.
|
|
5
|
+
"akar-icons": "^1.9.30",
|
|
6
6
|
"array-move": "^4.0.0",
|
|
7
7
|
"awesome-debounce-promise": "^2.1.0",
|
|
8
|
-
"axios": "^1.
|
|
8
|
+
"axios": "^1.6.0",
|
|
9
9
|
"framer-motion": "^10.16.4",
|
|
10
|
-
"html-react-parser": "^
|
|
10
|
+
"html-react-parser": "^5.0.4",
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"moment": "^2.29.4",
|
|
13
13
|
"motion": "^10.16.4",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"react-quill": "^2.0.0",
|
|
25
25
|
"react-reveal": "^1.2.2",
|
|
26
26
|
"react-select": "^5.7.7",
|
|
27
|
-
"react-slugify": "^3.0.
|
|
27
|
+
"react-slugify": "^3.0.3",
|
|
28
28
|
"react-sortable-hoc": "^2.0.0",
|
|
29
29
|
"react-toastify": "^9.1.3",
|
|
30
30
|
"react-toggle": "^4.1.3",
|
|
31
|
-
"react-tooltip": "^5.
|
|
31
|
+
"react-tooltip": "^5.22.0",
|
|
32
32
|
"react-window": "^1.8.9",
|
|
33
33
|
"reactjs-popup": "^2.0.6",
|
|
34
34
|
"truncate": "^3.0.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"react-dom": "^17.0.1"
|
|
45
45
|
},
|
|
46
46
|
"name": "@visns-studio/visns-components",
|
|
47
|
-
"version": "2.7.
|
|
47
|
+
"version": "2.7.6",
|
|
48
48
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
49
49
|
"main": "index.js",
|
|
50
50
|
"scripts": {
|