mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
refac
This commit is contained in:
parent
51f0e01258
commit
7977cdc343
1 changed files with 9 additions and 7 deletions
|
|
@ -7,11 +7,13 @@
|
|||
</script>
|
||||
|
||||
<Tooltip content={WEBUI_BUILD_HASH}>
|
||||
v{WEBUI_VERSION}{#if WEBUI_BUILD_CHANNEL === 'dev'}
|
||||
({WEBUI_BUILD_HASH ? `dev · ${WEBUI_BUILD_HASH.slice(0, 9)}` : $i18n.t('dev build')})
|
||||
{:else if WEBUI_BUILD_CHANNEL !== 'main'}
|
||||
({WEBUI_BUILD_HASH
|
||||
? $i18n.t('build · {{hash}}', { hash: WEBUI_BUILD_HASH.slice(0, 9) })
|
||||
: $i18n.t('unknown build')})
|
||||
{/if}
|
||||
<span>
|
||||
v{WEBUI_VERSION}{#if WEBUI_BUILD_CHANNEL === 'dev'}
|
||||
{' '}({WEBUI_BUILD_HASH ? `dev · ${WEBUI_BUILD_HASH.slice(0, 9)}` : $i18n.t('dev build')})
|
||||
{:else if WEBUI_BUILD_CHANNEL !== 'main'}
|
||||
{' '}({WEBUI_BUILD_HASH
|
||||
? $i18n.t('build · {{hash}}', { hash: WEBUI_BUILD_HASH.slice(0, 9) })
|
||||
: $i18n.t('unknown build')})
|
||||
{/if}
|
||||
</span>
|
||||
</Tooltip>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue