responsive pagination && handle free_turn value && fix set value in small size appo list in page doctors && set data rate in doctor item && fix set token in cookie in page login on domain nobat724.com
This commit is contained in:
@@ -16,7 +16,7 @@ function ProgressDetail({ data, idx }) {
|
||||
{label[idx]}
|
||||
</p>
|
||||
<LinearProgress
|
||||
value={data}
|
||||
value={data || 0}
|
||||
variant="determinate"
|
||||
className="!w-full lg:!w-[265px] !rounded-[10px] !bg-[#D7D7D7] !h-[11px]"
|
||||
sx={{
|
||||
@@ -26,8 +26,10 @@ function ProgressDetail({ data, idx }) {
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<p className="text-[#525252] text-[20px] font-medium">
|
||||
{numberToArStyle(data)}%
|
||||
<p
|
||||
className={`text-[#525252] font-medium ${data ? "text-[20px]" : "text-[18px]"}`}
|
||||
>
|
||||
{data ? `${numberToArStyle(data)}%` : "بدون نمره"}
|
||||
</p>
|
||||
</li>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user