@visns-studio/visns-components 5.4.13 → 5.4.14
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
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
82
82
|
},
|
|
83
83
|
"name": "@visns-studio/visns-components",
|
|
84
|
-
"version": "5.4.
|
|
84
|
+
"version": "5.4.14",
|
|
85
85
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
86
86
|
"main": "src/index.js",
|
|
87
87
|
"files": [
|
|
@@ -2226,19 +2226,41 @@ function GenericDetail({
|
|
|
2226
2226
|
</div>
|
|
2227
2227
|
)}
|
|
2228
2228
|
|
|
2229
|
-
{activeTabConfig.functions
|
|
2230
|
-
?.checkboxDelete
|
|
2229
|
+
{(activeTabConfig.functions
|
|
2230
|
+
?.checkboxDelete ||
|
|
2231
|
+
activeTabConfig.customAction) && (
|
|
2231
2232
|
<div className={styles.polActions}>
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2233
|
+
{activeTabConfig.functions
|
|
2234
|
+
?.checkboxDelete && (
|
|
2235
|
+
<button
|
|
2236
|
+
className={styles.btn}
|
|
2237
|
+
onClick={
|
|
2238
|
+
handleCheckboxDelete
|
|
2239
|
+
}
|
|
2240
|
+
>
|
|
2241
|
+
{activeTabConfig
|
|
2242
|
+
.functions
|
|
2243
|
+
.checkboxDelete
|
|
2244
|
+
.label || 'Delete'}
|
|
2245
|
+
</button>
|
|
2246
|
+
)}
|
|
2247
|
+
|
|
2248
|
+
{activeTabConfig.customAction && (
|
|
2249
|
+
<button
|
|
2250
|
+
className={styles.btn}
|
|
2251
|
+
onClick={() =>
|
|
2252
|
+
handleCustomAction(
|
|
2253
|
+
activeTabConfig.customAction
|
|
2254
|
+
)
|
|
2255
|
+
}
|
|
2256
|
+
>
|
|
2257
|
+
{
|
|
2258
|
+
activeTabConfig
|
|
2259
|
+
.customAction
|
|
2260
|
+
.label
|
|
2261
|
+
}
|
|
2262
|
+
</button>
|
|
2263
|
+
)}
|
|
2242
2264
|
</div>
|
|
2243
2265
|
)}
|
|
2244
2266
|
</>
|