CFE-18 description added to call history

This commit is contained in:
2023-11-20 12:04:07 +03:30
parent dbb3f9a563
commit 1c5ec9d2a8
2 changed files with 15 additions and 1 deletions

View File

@@ -262,7 +262,8 @@
"call_history_not_found": "تاریخچه ای برای تماس دریافتی یافت نشد",
"call_history_error_fetching": "خطا در دریافت تاریخچه تماس دریافتی",
"show_more": "نمایش موارد بیشتر",
"no_data_exist": "اطلاعاتی موجود نیست"
"no_data_exist": "اطلاعاتی موجود نیست",
"description": "توضیحات"
},
"CallAction": {
"call_history_of": "عملیات های مربوط به تماس",

View File

@@ -36,6 +36,19 @@ const Topics = ({historyItem}) => {
</Box>
</ListItem>
</List>
{historyItem.description ? <List component="div" disablePadding>
<ListItem sx={{px: 4}}>
<Box sx={{width: "100%", display: "flex", flexDirection: "column"}}>
<Typography variant="subtitle2" sx={{color: "#837e7e"}}>
{t("CallHistory.description")}:
</Typography>
<Typography variant="subtitle2" sx={{color: "#837e7e", px: 2}}>
{historyItem.description}
</Typography>
</Box>
</ListItem>
</List> : ""}
</Box>
)
}