refac: user oauth display

This commit is contained in:
Timothy Jaeryang Baek 2025-11-28 06:59:59 -05:00
parent dcf50c4758
commit 8ef482a52a

View file

@ -184,8 +184,13 @@
<div class="flex flex-col w-full">
<div class=" mb-1 text-xs text-gray-500">{$i18n.t('OAuth ID')}</div>
<div class="flex-1 text-sm break-all mb-1">
{JSON.stringify(_user.oauth ?? '')}
<div class="flex-1 text-sm break-all mb-1 flex flex-col space-y-1">
{#each Object.keys(_user.oauth) as key}
<div>
<span class="text-gray-500">{key}</span>
<span class="">{_user.oauth[key]?.sub}</span>
</div>
{/each}
</div>
</div>
{/if}