mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-09 19:45:17 +02:00
style: reorder permission card buttons (approve, deny, swap)
This commit is contained in:
parent
fd5e9a8657
commit
5a822f178d
1 changed files with 10 additions and 10 deletions
|
|
@ -223,6 +223,16 @@ export const PermissionRequest = ({
|
|||
</DropdownMenu>
|
||||
)}
|
||||
</div>
|
||||
<Button
|
||||
variant="destructive"
|
||||
size="sm"
|
||||
onClick={onDeny}
|
||||
disabled={isProcessing}
|
||||
className="flex-1"
|
||||
>
|
||||
<XIcon className="size-4" />
|
||||
Deny
|
||||
</Button>
|
||||
{otherAgent && otherDisplay && onSwitchAgent && (
|
||||
<Button
|
||||
variant="secondary"
|
||||
|
|
@ -235,16 +245,6 @@ export const PermissionRequest = ({
|
|||
Use {otherDisplay} instead
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
variant="destructive"
|
||||
size="sm"
|
||||
onClick={onDeny}
|
||||
disabled={isProcessing}
|
||||
className="flex-1"
|
||||
>
|
||||
<XIcon className="size-4" />
|
||||
Deny
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue