Improve profile search

This commit is contained in:
Jon Staab
2024-09-24 16:30:32 -07:00
parent 605273d7c7
commit cb702976ee
13 changed files with 50 additions and 36 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
import ContentQuote from '@app/components/ContentQuote.svelte'
import ContentTopic from '@app/components/ContentTopic.svelte'
import ContentMention from '@app/components/ContentMention.svelte'
import {nostr} from '@app/state'
import {entityLink} from '@app/state'
export let event
export let minLength = 500
@@ -108,7 +108,7 @@
<Link
external
class="overflow-hidden text-ellipsis whitespace-nowrap underline"
href={nostr(parsed.raw)}>
href={entityLink(parsed.raw)}>
{fromNostrURI(parsed.raw).slice(0, 16) + "…"}
</Link>
{/if}