mirror of
https://github.com/Dvorinka/Containr.git
synced 2026-10-28 07:41:27 +00:00
fix(ui): use SPageHead actions prop, satisfy tsc -b literal types
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
fc82c30765
commit
86567a1ae8
2 files changed
+2
-2
No files matched your search
@@ -193,7 +193,7 @@ export function WebhooksPage() {
|
||||
title="Webhooks"
|
||||
titleAccent="_"
|
||||
sub="Signed HTTP delivery for every platform event — deploys, restarts, deletes"
|
||||
trail={
|
||||
actions={
|
||||
<GhostBtn onClick={() => setCreating(true)}>
|
||||
<Plus size={13} /> New webhook
|
||||
</GhostBtn>
|
||||
|
||||
@@ -271,7 +271,7 @@ export function STable<T extends { id?: string | number }>({ cols, rows, rowKey,
|
||||
className={`s-dt-h ${c.sortable !== false ? 'sortable' : ''} ${sortKey === c.key ? 'on' : ''}`}
|
||||
onClick={() => {
|
||||
if (c.sortable === false) return;
|
||||
setSortDir(sortKey === c.key ? -sortDir : 1);
|
||||
setSortDir(sortKey === c.key ? (sortDir === 1 ? -1 : 1) : 1);
|
||||
setSortKey(c.key);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user