mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: user pending screen
Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com>
This commit is contained in:
@@ -278,7 +278,8 @@
|
||||
>
|
||||
{#if !['user', 'admin'].includes($user?.role)}
|
||||
<AccountPending />
|
||||
{:else if localDBChats.length > 0}
|
||||
{:else}
|
||||
{#if localDBChats.length > 0}
|
||||
<div class="fixed w-full h-full flex z-50">
|
||||
<div
|
||||
class="absolute w-full h-full backdrop-blur-md bg-white/20 dark:bg-gray-900/50 flex justify-center"
|
||||
@@ -341,6 +342,7 @@
|
||||
<Spinner className="size-5" />
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user