Merge tag 'v1.6.1' into develop

v1.6.1
This commit is contained in:
AmirHossein Mahmoodi
2025-08-16 11:52:28 +03:30
2 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
HOST="rms.witel.ir"
NEXT_PUBLIC_VERSION="1.6.0"
NEXT_PUBLIC_VERSION="1.6.1"
NEXT_PUBLIC_API_URL="https://rms.witel.ir"
NEXT_PUBLIC_MAPTILE_ENDPOINT="https://rmsmap.rmto.ir/141map"

View File

@@ -71,7 +71,7 @@ const ContentInfoItem = ({ data }) => {
<Chip size="small" label="تصویر بازدید" />
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
<Image
src={data.recognize_picture}
src={data.recognize_picture ?? ""}
style={{ objectFit: "contain" }}
alt="recognize_picture"
fill
@@ -87,9 +87,9 @@ const ContentInfoItem = ({ data }) => {
<Chip size="small" label="تصویر بازدید" />
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
<Image
src={data.recognize_picture_second}
src={data.recognize_picture_second ?? ""}
style={{ objectFit: "contain" }}
alt="recognize_picture"
alt="recognize_picture_second"
fill
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
@@ -105,7 +105,7 @@ const ContentInfoItem = ({ data }) => {
<Chip size="small" label="تصویر در حین کار" />
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
<Image
src={data.action_picture}
src={data.action_picture ?? ""}
style={{ objectFit: "contain" }}
alt="action_picture"
fill
@@ -121,7 +121,7 @@ const ContentInfoItem = ({ data }) => {
<Chip size="small" label="تصویر اتمام عملیات" />
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
<Image
src={data.finish_picture}
src={data.finish_picture ?? ""}
style={{ objectFit: "contain" }}
alt="finish_picture"
fill
@@ -137,7 +137,7 @@ const ContentInfoItem = ({ data }) => {
<Chip size="small" label={"تصویر صورت جلسه"} />
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
<Image
src={data.evidence_picture}
src={data.evidence_picture ?? ""}
style={{ objectFit: "contain" }}
alt="evidence_picture"
fill
@@ -151,4 +151,4 @@ const ContentInfoItem = ({ data }) => {
</Stack>
);
};
export default ContentInfoItem;
export default ContentInfoItem;