1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

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

This commit is contained in:
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

View file

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