feat(ui): renovate the edge devices waiting room (#7456)

pull/7470/head
matias-portainer 2022-08-12 00:01:31 -03:00 committed by GitHub
parent c1a4856e9d
commit dd372637cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 13 deletions

View File

@ -109,19 +109,22 @@ export function DataTable({
<div className="row"> <div className="row">
<div className="col-sm-12"> <div className="col-sm-12">
<Table.Container> <Table.Container>
<Table.Title label="Edge Devices Waiting Room" icon="" /> <Table.Title label="Edge Devices Waiting Room" icon="">
<Table.Actions> <SearchBar
<Button onChange={handleSearchBarChange}
onClick={() => value={searchBarValue}
handleAssociateDevice(selectedFlatRows.map((r) => r.original)) />
} <Table.Actions>
disabled={selectedFlatRows.length === 0} <Button
> onClick={() =>
Associate Device handleAssociateDevice(selectedFlatRows.map((r) => r.original))
</Button> }
</Table.Actions> disabled={selectedFlatRows.length === 0}
>
<SearchBar onChange={handleSearchBarChange} value={searchBarValue} /> Associate Device
</Button>
</Table.Actions>
</Table.Title>
<Table <Table
className={tableProps.className} className={tableProps.className}