bug fixed
parent
2d10412137
commit
6b7a4028ce
|
|
@ -126,15 +126,11 @@ export default function TabController() {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<SelectTrigger className="w-full h-12 bg-[#E9E9E9] " dir="rtl">
|
<SelectTrigger className="w-full h-12 bg-[#E9E9E9] " dir="rtl">
|
||||||
<SelectValue>
|
<SelectValue placeholder="انتخاب دسته بندی" />
|
||||||
{dataState?.find((item:any) => item.value === selectedTab)
|
|
||||||
?.title || "انتخاب دسته بندی"}
|
|
||||||
</SelectValue>
|
|
||||||
{/* <SelectValue placeholder="انتخاب دسته بندی" /> */}
|
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent dir="rtl">
|
<SelectContent dir="rtl">
|
||||||
{dataState?.map((item: any) => (
|
{dataState?.map((item: any) => (
|
||||||
<SelectItem key={item.value} value={item.value}>
|
<SelectItem key={item.value} value={String(item.value)}>
|
||||||
{item.title} ({item.count})
|
{item.title} ({item.count})
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue