File tree Expand file tree Collapse file tree
src/frontend/features/library/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ export function CardTitle(props: CardTitleProps) {
154154 smallThumbnailUrl,
155155 largeThumbnailUrl,
156156 thumbnailTarget,
157- buildStatusBadge
157+ buildStatusBadge,
158+ disabled = false ,
159+ showHiddenTag = false
158160 } = props ;
159- const disabled = props . disabled ?? false ;
160- const isHidden = props . showHiddenTag ?? false ;
161161
162162 let cardTitle : ReactNode ;
163163 if ( searchHit ) {
@@ -217,7 +217,7 @@ export function CardTitle(props: CardTitleProps) {
217217 { buildStatusBadge }
218218 { /* After the badge: toggling visibility would otherwise shift the
219219 badge, dragging its open hover card out from under the cursor. */ }
220- { isHidden && (
220+ { showHiddenTag && (
221221 < Box
222222 component = { EyeSlash }
223223 size = { IconSize . SMALL }
You can’t perform that action at this time.
0 commit comments