feat: add showPublicScores and showPublicOpinions flags to services with plan-based access control
This commit is contained in:
@@ -63,6 +63,7 @@ export default function ProductItem(props: ProductItemProps) {
|
||||
variant="card"
|
||||
displayMode="compact"
|
||||
showOpinionCount={false}
|
||||
enabled={product.showPublicScores !== false}
|
||||
/>
|
||||
</div>
|
||||
<div className={style.cardHeader}>
|
||||
@@ -126,7 +127,12 @@ export default function ProductItem(props: ProductItemProps) {
|
||||
<div className={style.itemContent}>
|
||||
<div className={style.itemHeader}>
|
||||
<h3 className={style.itemTitle}>{product.name}</h3>
|
||||
<ServiceRatingSummary serviceId={product.id} variant="row" showOpinionCount={false} />
|
||||
<ServiceRatingSummary
|
||||
serviceId={product.id}
|
||||
variant="row"
|
||||
showOpinionCount={false}
|
||||
enabled={product.showPublicScores !== false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<p
|
||||
|
||||
Reference in New Issue
Block a user