@visns-studio/visns-components 5.16.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
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
95
95
|
},
|
|
96
96
|
"name": "@visns-studio/visns-components",
|
|
97
|
-
"version": "5.16.
|
|
97
|
+
"version": "5.16.3",
|
|
98
98
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
99
99
|
"main": "src/index.js",
|
|
100
100
|
"files": [
|
|
@@ -1275,6 +1275,11 @@ const DataGrid = forwardRef(
|
|
|
1275
1275
|
case 'update':
|
|
1276
1276
|
modalOpen('update', d.id);
|
|
1277
1277
|
break;
|
|
1278
|
+
case 'navigate':
|
|
1279
|
+
if (s.url && s.key && d[s.key] != null) {
|
|
1280
|
+
navigate(`${s.url}${d[s.key]}`);
|
|
1281
|
+
}
|
|
1282
|
+
break;
|
|
1278
1283
|
default:
|
|
1279
1284
|
confirmDialog({
|
|
1280
1285
|
title: s.title,
|
|
@@ -2533,6 +2538,8 @@ const DataGrid = forwardRef(
|
|
|
2533
2538
|
return getIconComponent(RotateCcw);
|
|
2534
2539
|
case 'update':
|
|
2535
2540
|
return getIconComponent(Edit);
|
|
2541
|
+
case 'navigate':
|
|
2542
|
+
return getIconComponent(Inbox);
|
|
2536
2543
|
case 'romComplete':
|
|
2537
2544
|
return getIconComponent(CheckCircle);
|
|
2538
2545
|
default:
|