Refactor ServizioMain component: update content layout and add AnnunciSelezionati for admin actions
This commit is contained in:
parent
6124ba0271
commit
0ae854ede5
1 changed files with 29 additions and 21 deletions
|
|
@ -163,6 +163,7 @@ const ServizioMain = () => {
|
|||
</>
|
||||
}
|
||||
content={
|
||||
<div className="flex flex-col gap-4">
|
||||
<div className="flex gap-3">
|
||||
<Link
|
||||
href={`/servizio/onboard/${servizio.servizio_id}`}
|
||||
|
|
@ -187,6 +188,13 @@ const ServizioMain = () => {
|
|||
</Button>
|
||||
)}
|
||||
</div>
|
||||
{isAdmin && (
|
||||
<AnnunciSelezionati
|
||||
isConfirming={false}
|
||||
annunci={servizio.annunci}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue