@visns-studio/visns-components 4.10.41 → 4.10.42
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
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
78
78
|
},
|
|
79
79
|
"name": "@visns-studio/visns-components",
|
|
80
|
-
"version": "4.10.
|
|
80
|
+
"version": "4.10.42",
|
|
81
81
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
82
82
|
"main": "src/index.js",
|
|
83
83
|
"files": [
|
|
@@ -967,37 +967,39 @@ function GenericDetail({
|
|
|
967
967
|
)}
|
|
968
968
|
</div>
|
|
969
969
|
|
|
970
|
-
{activeTabConfig.form
|
|
970
|
+
{(activeTabConfig.form ||
|
|
971
|
+
activeTabConfig.export) && (
|
|
971
972
|
<div className={styles.polActions}>
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
973
|
+
{activeTabConfig.form && (
|
|
974
|
+
<button
|
|
975
|
+
className={styles.btn}
|
|
976
|
+
onClick={() =>
|
|
977
|
+
modalOpen(
|
|
978
|
+
'update',
|
|
979
|
+
routeParams[
|
|
980
|
+
urlParam
|
|
981
|
+
]
|
|
982
|
+
)
|
|
983
|
+
}
|
|
984
|
+
>
|
|
985
|
+
Edit
|
|
986
|
+
</button>
|
|
987
|
+
)}
|
|
988
|
+
{activeTabConfig.export && (
|
|
989
|
+
<button
|
|
990
|
+
className={styles.btn}
|
|
991
|
+
onClick={() =>
|
|
992
|
+
window.open
|
|
993
|
+
? window.open(
|
|
994
|
+
`${activeTabConfig.export.url}/${routeParams[urlParam]}`,
|
|
995
|
+
'_blank'
|
|
996
|
+
)
|
|
997
|
+
: (window.location.href = `${activeTabConfig.export.url}/${routeParams[urlParam]}`)
|
|
998
|
+
}
|
|
999
|
+
>
|
|
1000
|
+
Export
|
|
1001
|
+
</button>
|
|
1002
|
+
)}
|
|
1001
1003
|
</div>
|
|
1002
1004
|
)}
|
|
1003
1005
|
</>
|