@@ -1046,7 +1046,8 @@ const StepOne = ({
|
|||||||
<Command>
|
<Command>
|
||||||
<CommandList>
|
<CommandList>
|
||||||
<CommandGroup heading={t("Mavjud qulayliklar")}>
|
<CommandGroup heading={t("Mavjud qulayliklar")}>
|
||||||
{badge?.data?.data?.results?.map((item: any) => {
|
{amenitiesData?.data?.data?.results?.map(
|
||||||
|
(item: any) => {
|
||||||
const currentBadges =
|
const currentBadges =
|
||||||
form.getValues("amenities") ?? [];
|
form.getValues("amenities") ?? [];
|
||||||
const selected = currentBadges.includes(item.id);
|
const selected = currentBadges.includes(item.id);
|
||||||
@@ -1087,7 +1088,8 @@ const StepOne = ({
|
|||||||
{item.name}
|
{item.name}
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
);
|
);
|
||||||
})}
|
},
|
||||||
|
)}
|
||||||
</CommandGroup>
|
</CommandGroup>
|
||||||
</CommandList>
|
</CommandList>
|
||||||
</Command>
|
</Command>
|
||||||
|
|||||||
Reference in New Issue
Block a user