Skip to content

Commit

Permalink
[PR feedback] code readability - comments make everything better righ…
Browse files Browse the repository at this point in the history
…t? 🤔
  • Loading branch information
cee-chen committed Apr 5, 2024
1 parent 95aa6f0 commit 16da366
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/table/table_row_cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export const EuiTableRowCell: FunctionComponent<Props> = ({
};

if (isResponsive) {
// Mobile view
if (mobileOptions?.show === false) {
return null;
} else {
Expand All @@ -199,6 +200,7 @@ export const EuiTableRowCell: FunctionComponent<Props> = ({
);
}
} else {
// Desktop view
if (mobileOptions?.only) {
return null;
} else {
Expand Down

0 comments on commit 16da366

Please sign in to comment.