From 400c851d7a5c37f4a4b6de411d3534e523130bd5 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 12 Jun 2024 10:05:03 -0300 Subject: [PATCH] refactor: Update SessionView component to allow editing of "Text" field Allow the "Text" field in the SessionView component to be editable along with the "Sender Name" and "Message" fields. This change improves the functionality of the component and provides a better user experience. --- .../src/modals/IOModal/components/SessionView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/modals/IOModal/components/SessionView/index.tsx b/src/frontend/src/modals/IOModal/components/SessionView/index.tsx index edabbe252..f0b8baf92 100644 --- a/src/frontend/src/modals/IOModal/components/SessionView/index.tsx +++ b/src/frontend/src/modals/IOModal/components/SessionView/index.tsx @@ -41,7 +41,7 @@ export default function SessionView({ rows }: { rows: Array }) { onCellEditRequest={(event) => { handleUpdateMessage(event); }} - editable={["Sender Name", "Message"]} + editable={["Sender Name", "Message", "Text"]} overlayNoRowsTemplate="No data available" onSelectionChanged={(event: SelectionChangedEvent) => { setSelectedRows(event.api.getSelectedRows().map((row) => row.index));