material-react-table 1.0.5 → 1.0.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.
|
@@ -566,9 +566,10 @@ const getLeadingDisplayColumnIds = (props) => {
|
|
|
566
566
|
var _a;
|
|
567
567
|
return [
|
|
568
568
|
(props.enableRowDragging || props.enableRowOrdering) && 'mrt-row-drag',
|
|
569
|
-
|
|
570
|
-
(props.
|
|
571
|
-
|
|
569
|
+
props.positionActionsColumn === 'first' &&
|
|
570
|
+
(props.enableRowActions ||
|
|
571
|
+
(props.enableEditing &&
|
|
572
|
+
['row', 'modal'].includes((_a = props.editingMode) !== null && _a !== void 0 ? _a : ''))) &&
|
|
572
573
|
'mrt-row-actions',
|
|
573
574
|
props.positionExpandColumn === 'first' &&
|
|
574
575
|
showExpandColumn(props) &&
|
|
@@ -580,9 +581,10 @@ const getLeadingDisplayColumnIds = (props) => {
|
|
|
580
581
|
const getTrailingDisplayColumnIds = (props) => {
|
|
581
582
|
var _a;
|
|
582
583
|
return [
|
|
583
|
-
|
|
584
|
-
(props.
|
|
585
|
-
|
|
584
|
+
props.positionActionsColumn === 'last' &&
|
|
585
|
+
(props.enableRowActions ||
|
|
586
|
+
(props.enableEditing &&
|
|
587
|
+
['row', 'modal'].includes((_a = props.editingMode) !== null && _a !== void 0 ? _a : ''))) &&
|
|
586
588
|
'mrt-row-actions',
|
|
587
589
|
props.positionExpandColumn === 'last' &&
|
|
588
590
|
showExpandColumn(props) &&
|