Show image link if image fails to load

This commit is contained in:
Jon Staab
2025-06-05 13:37:50 -07:00
parent 11aa841241
commit 45397e7fb8
6 changed files with 34 additions and 12 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import type {Snippet} from "svelte"
import {onMount} from "svelte"
import {page} from "$app/stores"
import {ago, WEEK} from "@welshman/lib"
import {ago, MONTH} from "@welshman/lib"
import {GROUP_META, EVENT_TIME, THREAD, COMMENT, MESSAGE} from "@welshman/util"
import Page from "@lib/components/Page.svelte"
import SecondaryNav from "@lib/components/SecondaryNav.svelte"
@@ -53,7 +53,7 @@
checkConnection()
const relays = [url]
const since = ago(WEEK)
const since = ago(MONTH)
const controller = new AbortController()
// Load group meta, threads, calendar events, comments, and recent messages