From c0da9daad07877a58bd56f18402b74f36fbc1eed Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Tue, 19 Aug 2025 16:44:23 +0200 Subject: [PATCH] Add interruption toggle to TabServizio component for managing service status --- .../src/components/tables/servizio-table.tsx | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/apps/infoalloggi/src/components/tables/servizio-table.tsx b/apps/infoalloggi/src/components/tables/servizio-table.tsx index f58f7a0..bcc45b7 100644 --- a/apps/infoalloggi/src/components/tables/servizio-table.tsx +++ b/apps/infoalloggi/src/components/tables/servizio-table.tsx @@ -232,6 +232,34 @@ export const TabServizio = ({ + + + + Interruzione + + + + { + update({ + servizioId: servizio.servizio_id, + data: { + isInterrotto: v === "true", + }, + }); + }} + > + + Interrotto + + + Non Interrotto + + + + +