Skip to content

Commit

Permalink
chore: fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
coodos committed Nov 4, 2024
1 parent 0bb480f commit a7fd4b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/client/src/routes/(private)/credentials/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@
<TableBodyRow>
<TableBodyCell class="text-gray-600">{credential.name}</TableBodyCell>
<TableBodyCell class="text-gray-600"
>{credential.type.charAt(0).toUpperCase() + credential.type.slice(1) ??
'Uncategorized'}
>{credential.type
? credential.type.charAt(0).toUpperCase() + credential.type.slice(1)
: 'Uncategorized'}
</TableBodyCell>
<TableBodyCell class="text-gray-600">
<div class="flex justify-between">
Expand Down

0 comments on commit a7fd4b8

Please sign in to comment.