fixed bug
This commit is contained in:
@@ -71,7 +71,7 @@ const ContentInfoItem = ({ data }) => {
|
|||||||
<Chip size="small" label="تصویر بازدید" />
|
<Chip size="small" label="تصویر بازدید" />
|
||||||
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
||||||
<Image
|
<Image
|
||||||
src={data.recognize_picture}
|
src={data.recognize_picture ?? ""}
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
alt="recognize_picture"
|
alt="recognize_picture"
|
||||||
fill
|
fill
|
||||||
@@ -87,9 +87,9 @@ const ContentInfoItem = ({ data }) => {
|
|||||||
<Chip size="small" label="تصویر بازدید" />
|
<Chip size="small" label="تصویر بازدید" />
|
||||||
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
||||||
<Image
|
<Image
|
||||||
src={data.recognize_picture_second}
|
src={data.recognize_picture_second ?? ""}
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
alt="recognize_picture"
|
alt="recognize_picture_second"
|
||||||
fill
|
fill
|
||||||
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
||||||
/>
|
/>
|
||||||
@@ -105,7 +105,7 @@ const ContentInfoItem = ({ data }) => {
|
|||||||
<Chip size="small" label="تصویر در حین کار" />
|
<Chip size="small" label="تصویر در حین کار" />
|
||||||
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
||||||
<Image
|
<Image
|
||||||
src={data.action_picture}
|
src={data.action_picture ?? ""}
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
alt="action_picture"
|
alt="action_picture"
|
||||||
fill
|
fill
|
||||||
@@ -121,7 +121,7 @@ const ContentInfoItem = ({ data }) => {
|
|||||||
<Chip size="small" label="تصویر اتمام عملیات" />
|
<Chip size="small" label="تصویر اتمام عملیات" />
|
||||||
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
||||||
<Image
|
<Image
|
||||||
src={data.finish_picture}
|
src={data.finish_picture ?? ""}
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
alt="finish_picture"
|
alt="finish_picture"
|
||||||
fill
|
fill
|
||||||
@@ -137,7 +137,7 @@ const ContentInfoItem = ({ data }) => {
|
|||||||
<Chip size="small" label={"تصویر صورت جلسه"} />
|
<Chip size="small" label={"تصویر صورت جلسه"} />
|
||||||
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
<Box sx={{ position: "relative", height: 300, width: "100%" }}>
|
||||||
<Image
|
<Image
|
||||||
src={data.evidence_picture}
|
src={data.evidence_picture ?? ""}
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
alt="evidence_picture"
|
alt="evidence_picture"
|
||||||
fill
|
fill
|
||||||
|
|||||||
Reference in New Issue
Block a user