@visns-studio/visns-components 2.2.4 → 2.2.6
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/components/crm/DataGrid.jsx +8 -11
- package/package.json +1 -1
|
@@ -687,18 +687,15 @@ const DataGrid = forwardRef(
|
|
|
687
687
|
const commonProps = {
|
|
688
688
|
header: column.label,
|
|
689
689
|
defaultFlex: 1,
|
|
690
|
-
link: column.link
|
|
691
|
-
minWidth:
|
|
692
|
-
|
|
693
|
-
? column.minWidth
|
|
694
|
-
: undefined,
|
|
695
|
-
maxWidth:
|
|
696
|
-
column.maxWidth && column.maxWidth > 0
|
|
697
|
-
? column.maxWidth
|
|
698
|
-
: undefined,
|
|
690
|
+
link: column.link ?? {},
|
|
691
|
+
minWidth: column.minWidth ?? undefined,
|
|
692
|
+
maxWidth: column.maxWidth ?? undefined,
|
|
699
693
|
textVerticalAlign: 'top',
|
|
700
|
-
|
|
701
|
-
|
|
694
|
+
cellProps: {
|
|
695
|
+
style: {
|
|
696
|
+
...(column.style ?? {}),
|
|
697
|
+
margin: '0px',
|
|
698
|
+
},
|
|
702
699
|
},
|
|
703
700
|
};
|
|
704
701
|
|
package/package.json
CHANGED