@visns-studio/visns-components 3.1.11 → 3.1.12

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.
@@ -666,9 +666,10 @@ const DataGrid = forwardRef(
666
666
  </button>
667
667
  )}
668
668
 
669
- {form.create &&
669
+ {(form.create &&
670
670
  form.create.title &&
671
- form.create.title !== '' && (
671
+ form.create.title !== '') ||
672
+ (form.url && (
672
673
  <button
673
674
  className="btn"
674
675
  onClick={(e) => {
@@ -693,7 +694,7 @@ const DataGrid = forwardRef(
693
694
  >
694
695
  <div className="icon-plus"></div> Create
695
696
  </button>
696
- )}
697
+ ))}
697
698
  </div>
698
699
  );
699
700
  };
package/package.json CHANGED
@@ -49,7 +49,7 @@
49
49
  "react-dom": "^17.0.1"
50
50
  },
51
51
  "name": "@visns-studio/visns-components",
52
- "version": "3.1.11",
52
+ "version": "3.1.12",
53
53
  "description": "Various packages to assist in the development of our Custom Applications.",
54
54
  "main": "index.js",
55
55
  "scripts": {