@visns-studio/visns-components 1.3.7 → 1.3.8
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.
|
@@ -342,14 +342,16 @@ const DataGrid = forwardRef(
|
|
|
342
342
|
<button
|
|
343
343
|
className="btn"
|
|
344
344
|
onClick={() => {
|
|
345
|
-
if (form.
|
|
346
|
-
window.open(
|
|
347
|
-
form.url,
|
|
348
|
-
"",
|
|
349
|
-
"width=1440,height=1024,menubar=1,resizable=1,status=1,titlebar=1,toolbar=1"
|
|
350
|
-
);
|
|
351
|
-
} else {
|
|
345
|
+
if (form.create) {
|
|
352
346
|
modalOpen("create", 0);
|
|
347
|
+
} else {
|
|
348
|
+
if (form.url) {
|
|
349
|
+
window.open(
|
|
350
|
+
form.url,
|
|
351
|
+
"",
|
|
352
|
+
"width=1440,height=1024,menubar=1,resizable=1,status=1,titlebar=1,toolbar=1"
|
|
353
|
+
);
|
|
354
|
+
}
|
|
353
355
|
}
|
|
354
356
|
}}
|
|
355
357
|
>
|
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.3.
|
|
37
|
+
"version": "1.3.8",
|
|
38
38
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
39
39
|
"main": "index.js",
|
|
40
40
|
"devDependencies": {},
|