From 7979025c6f923e7653d54278777f919bf9fba695 Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Fri, 28 Mar 2025 20:47:52 +0000 Subject: [PATCH] chore: check emptyValuesFilling while rendering --- .../tools/csv/csv-rows-to-columns/index.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/pages/tools/csv/csv-rows-to-columns/index.tsx b/src/pages/tools/csv/csv-rows-to-columns/index.tsx index 5083c2e..8b70b75 100644 --- a/src/pages/tools/csv/csv-rows-to-columns/index.tsx +++ b/src/pages/tools/csv/csv-rows-to-columns/index.tsx @@ -111,13 +111,15 @@ export default function CsvRowsToColumns({ 'If the input CSV file is incomplete (missing values), then add empty fields or custom symbols to records to make a well-formed CSV?' } /> - updateField('customFiller', val)} - description={ - 'Use this custom value to fill in missing fields. (Works only with "Custom Values" mode above.)' - } - /> + {!values.emptyValuesFilling && ( + updateField('customFiller', val)} + description={ + 'Use this custom value to fill in missing fields. (Works only with "Custom Values" mode above.)' + } + /> + )} ) },