mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac
This commit is contained in:
parent
098f34f400
commit
db0379030e
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
|
||||||
import type { Token } from 'marked';
|
import type { Token } from 'marked';
|
||||||
|
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||||
|
|
||||||
export let token: Token;
|
export let token: Token;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Tooltip as="span" className="mention" content={token.id} placement="top">
|
<Tooltip as="span" className="mention" content={token.id} placement="top">
|
||||||
{token.triggerChar}{token.label}
|
{token?.triggerChar ?? '@'}{token?.label ?? token?.id}
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue