From 2f32478b3910f63c0dbee6267270f7ba11759cab Mon Sep 17 00:00:00 2001 From: atrincas Date: Tue, 3 Dec 2024 13:40:29 +0100 Subject: [PATCH] Changed folder name --- client/src/containers/profile/file-upload/index.tsx | 8 ++++---- .../{forms => templates}/carbon-input-template.xlsx | Bin .../{forms => templates}/cost-input-template.xlsx | Bin 3 files changed, 4 insertions(+), 4 deletions(-) rename client/src/public/{forms => templates}/carbon-input-template.xlsx (100%) rename client/src/public/{forms => templates}/cost-input-template.xlsx (100%) diff --git a/client/src/containers/profile/file-upload/index.tsx b/client/src/containers/profile/file-upload/index.tsx index f7ce8221..39dac29a 100644 --- a/client/src/containers/profile/file-upload/index.tsx +++ b/client/src/containers/profile/file-upload/index.tsx @@ -13,18 +13,18 @@ import { Card } from "@/components/ui/card"; import { useToast } from "@/components/ui/toast/use-toast"; // Array should be in this order -export const EXCEL_FILES = [ +export const TEMPLATE_FILES = [ { name: "carbon-input-template.xlsx", - path: "/forms/carbon-input-template.xlsx", + path: "/templates/carbon-input-template.xlsx", }, { name: "cost-input-template.xlsx", - path: "/forms/cost-input-template.xlsx", + path: "/templates/cost-input-template.xlsx", }, ]; -const REQUIRED_FILE_NAMES = EXCEL_FILES.map((f) => f.name); +const REQUIRED_FILE_NAMES = TEMPLATE_FILES.map((f) => f.name); const EXCEL_EXTENSIONS = [".xlsx", ".xls"]; const MAX_FILES = 2; diff --git a/client/src/public/forms/carbon-input-template.xlsx b/client/src/public/templates/carbon-input-template.xlsx similarity index 100% rename from client/src/public/forms/carbon-input-template.xlsx rename to client/src/public/templates/carbon-input-template.xlsx diff --git a/client/src/public/forms/cost-input-template.xlsx b/client/src/public/templates/cost-input-template.xlsx similarity index 100% rename from client/src/public/forms/cost-input-template.xlsx rename to client/src/public/templates/cost-input-template.xlsx