Skip to content

Commit

Permalink
Fix theme listing in theme-search
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG authored Nov 11, 2024
1 parent 6d173df commit 5bdbcda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/theme/theme-search/theme-search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<div
class="hidden md:block"
[id]="'th_search_data_list_row_' + i + '_description'"
[pTooltip]="theme.description.length < 75 ? '' : theme.description"
[pTooltip]="theme.description?.length < 75 ? '' : theme.description"
tooltipPosition="top"
tooltipEvent="hover"
>
Expand Down Expand Up @@ -128,7 +128,7 @@
<div
[id]="'th_search_data_grid_row_' + i + '_display_name'"
class="font-bold sm:text-lg md:text-xl text-responsive"
[pTooltip]="theme.displayName.length < 20 ? '' : theme.displayName"
[pTooltip]="theme.displayName?.length < 20 ? '' : theme.displayName"
tooltipPosition="top"
tooltipEvent="hover"
>
Expand Down

0 comments on commit 5bdbcda

Please sign in to comment.