From ec747506044b6d9978380f46bfa86a91657d3662 Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Wed, 23 Aug 2023 14:26:28 +0200 Subject: [PATCH] fix label --- .../browser/static/widget/js/fields/PauseTableField.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/redturtle/prenotazioni/browser/static/widget/js/fields/PauseTableField.js b/src/redturtle/prenotazioni/browser/static/widget/js/fields/PauseTableField.js index e9b026c6..ae8c5c1c 100644 --- a/src/redturtle/prenotazioni/browser/static/widget/js/fields/PauseTableField.js +++ b/src/redturtle/prenotazioni/browser/static/widget/js/fields/PauseTableField.js @@ -88,14 +88,13 @@ const PauseTableField = ({ value, row }) => { const onDeleteRow = deletedRow => { let newValue = pause_table.filter((value, idx) => idx !== deletedRow); - console.log(newValue); updateField({ row, id: 'pause_table', value: newValue }); }; return (
- {getTranslationFor('pause_table_label')} + {getTranslationFor('Pause table')}
{pause_table.length > 0 && (