mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
fix: missing banner type
This commit is contained in:
@@ -57,12 +57,14 @@
|
||||
>
|
||||
{#if banner.type.toLowerCase() === 'info'}
|
||||
{$i18n.t('Info')}
|
||||
{/if}
|
||||
{#if banner.type.toLowerCase() === 'warning'}
|
||||
{:else if banner.type.toLowerCase() === 'warning'}
|
||||
{$i18n.t('Warning')}
|
||||
{/if}
|
||||
{#if banner.type.toLowerCase() === 'error'}
|
||||
{:else if banner.type.toLowerCase() === 'error'}
|
||||
{$i18n.t('Error')}
|
||||
{:else if banner.type.toLowerCase() === 'success'}
|
||||
{$i18n.t('Success')}
|
||||
{:else}
|
||||
{banner.type}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user