кастомный тариф не отобразит привилегию на мануалквиз
This commit is contained in:
parent
0740568a80
commit
51752ba5e6
@ -78,9 +78,10 @@ export default function CustomTariffCard({ serviceKey, privileges }: Props) {
|
|||||||
gap: "25px",
|
gap: "25px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{privileges.map((privilege) => (
|
{privileges.map((privilege) => {
|
||||||
|
if (privilege.privilegeId !== "quizManual") return (
|
||||||
<TariffPrivilegeSlider key={privilege._id} privilege={privilege} />
|
<TariffPrivilegeSlider key={privilege._id} privilege={privilege} />
|
||||||
))}
|
)})}
|
||||||
</Box>
|
</Box>
|
||||||
{!upMd && (
|
{!upMd && (
|
||||||
<Divider
|
<Divider
|
||||||
|
@ -42,6 +42,8 @@ function TariffConstructor() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{Object.entries(customTariffs).filter(([serviceKey]) => serviceKey === "squiz").map(([serviceKey, privileges], index) => {
|
{Object.entries(customTariffs).filter(([serviceKey]) => serviceKey === "squiz").map(([serviceKey, privileges], index) => {
|
||||||
|
console.log("privileges")
|
||||||
|
console.log(privileges)
|
||||||
return (
|
return (
|
||||||
<Box key={serviceKey}>
|
<Box key={serviceKey}>
|
||||||
<Box
|
<Box
|
||||||
|
Loading…
Reference in New Issue
Block a user