Skip to content

Commit

Permalink
fixup delete peripheral with link (todo with btn...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serp1co committed Feb 22, 2025
1 parent 8b1f410 commit 6dc7afc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions web/html/src/manager/admin/hub/list/peripherals-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,17 @@ const IssPeripheralsList = () => {
columnKey="remove"
header={t("Remove")}
cell={(row: PeripheralListData) => (
<i
className="fa fa-trash"
<a
href="_blank"
onClick={(e) =>
handlePeripheralDelete(e, {
id: parseInt(row.id, 10),
fqdn: row.fqdn,
})
}
/>
>
<i className="fa fa-trash" />
</a>
)}
/>
</Table>
Expand Down

0 comments on commit 6dc7afc

Please sign in to comment.