From d3f9829643650d7daf918b335e712570244de29f Mon Sep 17 00:00:00 2001 From: amhsirak Date: Wed, 22 Jan 2025 19:08:51 +0530 Subject: [PATCH] feat: use checkbox instead of radio group --- src/components/robot/RecordingsTable.tsx | 25 +++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/robot/RecordingsTable.tsx b/src/components/robot/RecordingsTable.tsx index bcfaaad4..7b5f7c84 100644 --- a/src/components/robot/RecordingsTable.tsx +++ b/src/components/robot/RecordingsTable.tsx @@ -346,17 +346,20 @@ export const RecordingsTable = ({ handleEditRecording, handleRunRecording, handl style={{ marginBottom: '20px', marginTop: '20px' }} /> - {t('recordingtable.modal.login_title')} - setIsLogin(e.target.value === 'yes')} - style={{ marginBottom: '20px' }} - > - } label="Yes" /> - } label="No" /> - + + {t('recordingtable.modal.login_title')} + + setIsLogin(e.target.checked)} + color="primary" + /> + } + label={t('recordingtable.modal.login_title')} + style={{ marginBottom: '20px' }} +/>;