Skip to content

Commit

Permalink
merge cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
teallarson committed Nov 16, 2022
1 parent b5304fa commit 1dd9e0f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
[styles.removed]: statusToDisplay === "removed",
[styles.changed]: isSelected || statusToDisplay === "changed",
[styles.error]: hasError,
[styles.disabled]: statusToDisplay === "disabled",
});

const statusIcon = useMemo(() => {
Expand All @@ -111,11 +110,14 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
return null;
}, [statusToDisplay]);

const checkboxCellCustomStyle = classnames(styles.checkboxCell, styles.streamRowCheckboxCell);

console.log({ statusToDisplay });
console.log({ statusToDisplay });
return (
<Row onClick={onRowClick} className={streamHeaderContentStyle}>
{!disabled && (
<div className={styles.streamRowCheckboxCell}>
<div className={checkboxCellCustomStyle}>
{statusIcon}
<CheckBox checked={isSelected} onChange={selectForBulkEdit} />
</div>
Expand Down

0 comments on commit 1dd9e0f

Please sign in to comment.