mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: missing banner type
This commit is contained in:
parent
04bd09d027
commit
28c1de237b
1 changed files with 6 additions and 4 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue