We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72c5c1b + 2d4a85c commit bbdaed7Copy full SHA for bbdaed7
src/components/m-table-body-row.js
@@ -158,16 +158,16 @@ export default function MTableBodyRow(props) {
158
const selectionWidth = CommonValues.selectionMaxWidth(
159
props,
160
props.treeDataMaxLevel
161
- );
+ ) || 0;
162
163
const styles =
164
size === 'medium'
165
? {
166
- marginLeft: props.level * 9
+ marginLeft: props.level * 9 || 0
167
}
168
: {
169
padding: '4px',
170
- marginLeft: 5 + props.level * 9
+ marginLeft: 5 + props.level * 9 || 0
171
};
172
173
return (
0 commit comments