@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