Skip to content

Commit

Permalink
patch: bump react, react-dom + related @types to 17.0.2 and rendition…
Browse files Browse the repository at this point in the history
… to 35.1.0
  • Loading branch information
aethernet committed Oct 19, 2023
1 parent da7c685 commit 782bcb2
Show file tree
Hide file tree
Showing 4 changed files with 15,705 additions and 10,373 deletions.
52 changes: 27 additions & 25 deletions lib/gui/app/components/drive-selector/drive-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,26 @@ function isDrivelistDrive(drive: Drive): drive is DrivelistDrive {
const DrivesTable = styled((props: GenericTableProps<Drive>) => (
<Table<Drive> {...props} />
))`
[data-display="table-head"],
[data-display="table-body"] {
> [data-display="table-row"] > [data-display="table-cell"] {
&:nth-child(2) {
width: 32%;
}
&:nth-child(3) {
width: 15%;
}
&:nth-child(4) {
width: 15%;
}
&:nth-child(5) {
width: 32%;
}
}
}
// [data-display="table-head"],
// [data-display="table-body"] {
// > [data-display="table-row"] > [data-display="table-cell"] {
// &:nth-child(2) {
// width: 32%;
// }
// &:nth-child(3) {
// width: 15%;
// }
// &:nth-child(4) {
// width: 15%;
// }
// &:nth-child(5) {
// width: 32%;
// }
// }
// }
`;

function badgeShadeFromStatus(status: string) {
Expand Down Expand Up @@ -428,11 +428,13 @@ export class DriveSelector extends React.Component<
) : (
<>
<DrivesTable
refFn={(t) => {
if (t !== null) {
t.setRowSelection(selectedList);
}
}}
// refFn={(t) => {
// if (t !== null) {

// // t.setRowSelection(selectedList);
// }
// }}
checkedItems={selectedList}
checkedRowsNumber={selectedList.length}
multipleSelection={this.props.multipleSelection}
columns={this.tableColumns}
Expand Down
1 change: 0 additions & 1 deletion lib/gui/app/styled-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ function StyledTable<T>() {
[data-display='table-body'] > [data-display='table-row'] {
> [data-display='table-cell']:first-child {
padding-left: 15px;
width: 6%;
}
> [data-display='table-cell']:last-child {
Expand Down
Loading

0 comments on commit 782bcb2

Please sign in to comment.