Skip to content

Commit

Permalink
feat: add true/false icon margin left
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Dec 20, 2024
1 parent f41693e commit b0e3baf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/lib/components/ModelTable/ModelTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@
</p>
{:else if ISO_8601_REGEX.test(value) && (key === 'created_at' || key === 'updated_at' || key === 'expiry_date' || key === 'accepted_at' || key === 'rejected_at' || key === 'revoked_at' || key === 'eta')}
{formatDateOrDateTime(value, languageTag())}
{:else if [true, false].includes(value)}
<span class="ml-5">{safeTranslate(value ?? '-')}</span>
{:else}
{safeTranslate(value ?? '-')}
{/if}
Expand Down

0 comments on commit b0e3baf

Please sign in to comment.