@dartech/arsenal-ui 1.3.30 → 1.3.31
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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2684,10 +2684,12 @@ const TableAction = ({
|
|
2684
2684
|
onClick,
|
2685
2685
|
location
|
2686
2686
|
}) => {
|
2687
|
+
var _a;
|
2687
2688
|
if (location) {
|
2688
2689
|
return jsx(IconButton, Object.assign({
|
2689
2690
|
component: Link,
|
2690
|
-
to: location,
|
2691
|
+
to: location.pathname,
|
2692
|
+
state: (_a = location.state) !== null && _a !== void 0 ? _a : null,
|
2691
2693
|
size: "small"
|
2692
2694
|
}, {
|
2693
2695
|
children: jsx(Tooltip, Object.assign({
|