@visns-studio/visns-components 1.8.2 → 1.8.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.
@@ -220,9 +220,16 @@ const DataGrid = forwardRef(
220
220
  case "delete":
221
221
  confirmAlert({
222
222
  title: "Delete Item",
223
- message: `Are you sure you want to delete ${
224
- d.name ? d.name : d.label ? d.label : "this item"
225
- }?`,
223
+ message:
224
+ s.description && s.description !== ""
225
+ ? s.description
226
+ : `Are you sure you want to delete ${
227
+ d.name
228
+ ? d.name
229
+ : d.label
230
+ ? d.label
231
+ : "this item"
232
+ }?`,
226
233
  buttons: [
227
234
  {
228
235
  label: "Yes",
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "react-dom": "^17.0.1"
35
35
  },
36
36
  "name": "@visns-studio/visns-components",
37
- "version": "1.8.2",
37
+ "version": "1.8.3",
38
38
  "description": "Various packages to assist in the development of our Custom Applications.",
39
39
  "main": "index.js",
40
40
  "scripts": {