From d7116057006c8d75635816247c3c9e38a7e4eb18 Mon Sep 17 00:00:00 2001 From: Tanishq Singh Date: Wed, 2 Oct 2024 07:14:03 +0530 Subject: [PATCH] fix: styling with filter owner (#1518) (#1525) --- src/common/search/FilterPlays.jsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/common/search/FilterPlays.jsx b/src/common/search/FilterPlays.jsx index 54f2ceffff..eff222687b 100644 --- a/src/common/search/FilterPlays.jsx +++ b/src/common/search/FilterPlays.jsx @@ -164,8 +164,12 @@ const FilterPlays = ({ onChange, query }) => { icon={icon} style={{ padding: 0 }} /> -
- +
+ {field.avatar && getOptionNode(field, option)[field.avatar] ? ( { ) : null} - + {field.node ? option[field.node][field.fieldName] : option[field.fieldName]}