Skip to content

Commit

Permalink
Update MTableHeader to support showDetailPanelIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
peacechen committed Apr 4, 2021
1 parent ddaea47 commit a2b886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MTableHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export function MTableHeader(props) {
headers.push(renderActionsHeader());
}
}
if (props.hasDetailPanel) {
if (props.hasDetailPanel && props.options.showDetailPanelIcon) {
if (props.detailPanelColumnAlignment === 'right') {
headers.push(renderDetailPanelColumnCell());
} else {
Expand Down

0 comments on commit a2b886b

Please sign in to comment.