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