refac: user oauth display
This commit is contained in:
@@ -184,8 +184,13 @@
|
|||||||
<div class="flex flex-col w-full">
|
<div class="flex flex-col w-full">
|
||||||
<div class=" mb-1 text-xs text-gray-500">{$i18n.t('OAuth ID')}</div>
|
<div class=" mb-1 text-xs text-gray-500">{$i18n.t('OAuth ID')}</div>
|
||||||
|
|
||||||
<div class="flex-1 text-sm break-all mb-1">
|
<div class="flex-1 text-sm break-all mb-1 flex flex-col space-y-1">
|
||||||
{JSON.stringify(_user.oauth ?? '')}
|
{#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>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user