From 46d2194d9e66f9cd34870e7eb16b8564909f7e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez?= Date: Wed, 24 Apr 2024 09:19:29 +0200 Subject: [PATCH 1/9] features upload: updates toast message according to upload method --- .../inventory-panel/features/modals/upload/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/layout/project/sidebar/project/inventory-panel/features/modals/upload/index.tsx b/app/layout/project/sidebar/project/inventory-panel/features/modals/upload/index.tsx index a97474cb89..8ca66072dd 100644 --- a/app/layout/project/sidebar/project/inventory-panel/features/modals/upload/index.tsx +++ b/app/layout/project/sidebar/project/inventory-panel/features/modals/upload/index.tsx @@ -175,8 +175,8 @@ export const FeatureUploadModal = ({ <>

Upload in progress

- CSV file uploaded correctly. Starting features processing. This might take several - minutes. + {uploadMode === 'csv' ? 'CSV file' : 'Shapefile'} uploaded correctly. Starting + features processing. This might take several minutes.

, { @@ -197,7 +197,7 @@ export const FeatureUploadModal = ({ setSuccessFile(null); addToast( - 'error-upload-feature-csv', + 'error-upload-feature-file', <>

Error