Skip to content

Commit

Permalink
fix: typos in comments and components
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Kirsche committed Aug 12, 2021
1 parent a5847e2 commit cc2b40e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/components/MTableBodyRow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default function MTableBodyRow(props) {
}}
>
<IconButton
aria-label="Detail panel visiblity toggle"
aria-label="Detail panel visibility toggle"
size={size}
style={{
transition: 'all ease 200ms',
Expand Down Expand Up @@ -286,7 +286,7 @@ export default function MTableBodyRow(props) {

iconButton = (
<IconButton
aria-label="Detail panel visiblity toggle"
aria-label="Detail panel visibility toggle"
size={size}
key={'key-detail-panel-' + index}
style={{
Expand Down Expand Up @@ -336,7 +336,7 @@ export default function MTableBodyRow(props) {
style={{ width: 48 + 9 * (props.treeDataMaxLevel - 2) }}
>
<IconButton
aria-label="Detail panel visiblity toggle"
aria-label="Detail panel visibility toggle"
size={size}
style={{
transition: 'all ease 200ms',
Expand Down
4 changes: 2 additions & 2 deletions src/components/MTableEditRow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ function MTableEditRow(props) {

// Lastly we add detail panel icon
if (props.detailPanel && props.mode !== 'bulk') {
const aligment = props.options.detailPanelColumnAlignment;
const index = aligment === 'left' ? 0 : columns.length;
const alignment = props.options.detailPanelColumnAlignment;
const index = alignment === 'left' ? 0 : columns.length;
columns.splice(
index,
0,
Expand Down
4 changes: 2 additions & 2 deletions src/components/MTableEditRow/m-table-edit-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ export default class MTableEditRow extends React.Component {

// Lastly we add detail panel icon
if (this.props.detailPanel) {
const aligment = this.props.options.detailPanelColumnAlignment;
const index = aligment === 'left' ? 0 : columns.length;
const alignment = this.props.options.detailPanelColumnAlignment;
const index = alignment === 'left' ? 0 : columns.length;
columns.splice(
index,
0,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/data-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export default class DataManager {
};

// =====================================================================================================
// DATA MANUPULATIONS
// DATA MANIPULATIONS
// =====================================================================================================

filterData = () => {
Expand Down

0 comments on commit cc2b40e

Please sign in to comment.