mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac
This commit is contained in:
parent
b9bbf22581
commit
a776dbd01d
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
export let onSourceClick: Function = () => {};
|
export let onSourceClick: Function = () => {};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#each tokens as token}
|
{#each tokens as token, tokenIdx (tokenIdx)}
|
||||||
{#if token.type === 'escape'}
|
{#if token.type === 'escape'}
|
||||||
{unescapeHtml(token.text)}
|
{unescapeHtml(token.text)}
|
||||||
{:else if token.type === 'html'}
|
{:else if token.type === 'html'}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
{:else}
|
{:else}
|
||||||
{#each texts as text}
|
{#each texts as text}
|
||||||
<span class="" transition:fade={{ duration: 100 }}>
|
<span class="" transition:fade={{ duration: 100 }}>
|
||||||
{text}
|
{text}{' '}
|
||||||
</span>
|
</span>
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue