Skip to content

Commit

Permalink
Make a line cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Oct 18, 2024
1 parent ddb7ea9 commit f743449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/ModelTable/ModelTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
{/if}
{:else if value && value.hexcolor}
<p class="flex w-fit min-w-24 justify-center px-2 py-1 rounded-md ml-2 whitespace-nowrap {classesHexBackgroundText(value.hexcolor)}" style="background-color: {value.hexcolor}">
{safeTranslate(value.name ?? value.str ?? '-')}
{safeTranslate(value.name ?? value.str) ?? '-'}
</p>
{:else if ISO_8601_REGEX.test(value)}
{formatDateOrDateTime(value, languageTag())}
Expand Down

0 comments on commit f743449

Please sign in to comment.