1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

use logical OR ( || )

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
grafixeyehero 2024-06-02 21:09:23 +03:00
parent ac42b3a203
commit 8e23d50cb7

View file

@ -79,9 +79,7 @@ const CheckBoxElement: FC<CheckBoxElementProps> = ({
dataFilter: dataFilter ? `data-filter='${dataFilter}'` : '',
dataItemType: itemType ? `data-itemtype='${itemType}'` : '',
dataId: itemId ? `data-id='${itemId}'` : '',
checkedAttribute: itemCheckedAttribute ?
itemCheckedAttribute :
'',
checkedAttribute: itemCheckedAttribute || '',
renderContent: renderContent
})}
/>