выводится только опросник в кастомном тарифе
This commit is contained in:
parent
dccf707f96
commit
13820d6652
@ -42,8 +42,9 @@ function TariffConstructor() {
|
|||||||
gap: "80px",
|
gap: "80px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{Object.entries(customTariffs).map(([serviceKey, privileges], index) => (
|
{Object.entries(customTariffs).filter(([serviceKey]) => serviceKey === "squiz").map(([serviceKey, privileges], index) => {
|
||||||
<Box key={index}>
|
console.log("serviceKey ",serviceKey)
|
||||||
|
return <Box key={index}>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
mb: "40px",
|
mb: "40px",
|
||||||
@ -68,7 +69,7 @@ function TariffConstructor() {
|
|||||||
</Box>
|
</Box>
|
||||||
<CustomTariffCard serviceKey={serviceKey} privileges={privileges} />
|
<CustomTariffCard serviceKey={serviceKey} privileges={privileges} />
|
||||||
</Box>
|
</Box>
|
||||||
))}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
<Link
|
<Link
|
||||||
to="/tariffconstructor/savedtariffs"
|
to="/tariffconstructor/savedtariffs"
|
||||||
|
Loading…
Reference in New Issue
Block a user