refactor: update AnnuncioConfermaPopover button variant based on confirmation status
This commit is contained in:
parent
dc25815e06
commit
9f1c6c67bb
1 changed files with 4 additions and 1 deletions
|
|
@ -191,7 +191,10 @@ export const AnnuncioConfermaPopover = ({
|
||||||
return (
|
return (
|
||||||
<Popover>
|
<Popover>
|
||||||
<PopoverTrigger asChild>
|
<PopoverTrigger asChild>
|
||||||
<Button size="sm" variant="orange">
|
<Button
|
||||||
|
size="sm"
|
||||||
|
variant={status_conferma === null ? "outline" : "orange"}
|
||||||
|
>
|
||||||
<Workflow /> {status_conferma || "Non in conferma"}
|
<Workflow /> {status_conferma || "Non in conferma"}
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue