From fc02d979e1462367d987bc4904bf8b69b59ff008 Mon Sep 17 00:00:00 2001 From: AminGhasempoor Date: Tue, 15 Apr 2025 13:57:25 +0330 Subject: [PATCH] add title to images --- .../tollHouse/RowActions/ImageForm/ImagesContent.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/infrastructure/tollHouse/RowActions/ImageForm/ImagesContent.jsx b/src/components/infrastructure/tollHouse/RowActions/ImageForm/ImagesContent.jsx index 4b66734..c54c0d7 100644 --- a/src/components/infrastructure/tollHouse/RowActions/ImageForm/ImagesContent.jsx +++ b/src/components/infrastructure/tollHouse/RowActions/ImageForm/ImagesContent.jsx @@ -4,6 +4,13 @@ import DialogLoading from "@/core/components/DialogLoading"; import useRequest from "@/lib/hooks/useRequest"; import { GET_TOLL_HOUSE_IMAGES } from "@/core/utils/routes"; import { Typography } from "@mui/material"; +const titles = [ + "نمای کلی از راهداری", + "آشیانه ماشین آلات", + "انباری شن و ماسه", + "محیط کاری", + "سایر تصاویر", +]; const ImagesContent = ({ rowId }) => { const requestServer = useRequest(); @@ -27,7 +34,7 @@ const ImagesContent = ({ rowId }) => { ) : tollHouseImages ? ( tollHouseImages.map((image, index) => { - return ; + return ; }) ) : ( تصویری در سامانه یافت نشد