diff --git a/packages/client/src/components/MkInstanceTicker.vue b/packages/client/src/components/MkInstanceTicker.vue index f27cce02a3..3ac06d4fe3 100644 --- a/packages/client/src/components/MkInstanceTicker.vue +++ b/packages/client/src/components/MkInstanceTicker.vue @@ -78,8 +78,8 @@ const bg = { function getInstanceIcon(instance): string { return ( - getProxiedImageUrlNullable(instance.iconUrl, "preview") ?? getProxiedImageUrlNullable(instance.faviconUrl, "preview") ?? + getProxiedImageUrlNullable(instance.iconUrl, "preview") ?? "/client-assets/dummy.png" ); } diff --git a/packages/client/src/pages/instance-info.vue b/packages/client/src/pages/instance-info.vue index a065120645..d7e1358163 100644 --- a/packages/client/src/pages/instance-info.vue +++ b/packages/client/src/pages/instance-info.vue @@ -31,7 +31,7 @@
- + {{ instance.name || `(${i18n.ts.unknown})` }} @@ -310,7 +310,7 @@ const instance = ref(null); const suspended = ref(false); const isBlocked = ref(false); const isSilenced = ref(false); -const faviconUrl = ref(null); +const iconUrl = ref(null); const usersPagination = { endpoint: isAdmin ? ("admin/show-users" as const) : ("users" as const), @@ -332,9 +332,9 @@ async function fetch() { suspended.value = instance.value.isSuspended; isBlocked.value = instance.value.isBlocked; isSilenced.value = instance.value.isSilenced; - faviconUrl.value = - getProxiedImageUrlNullable(instance.value.faviconUrl, "preview") ?? - getProxiedImageUrlNullable(instance.value.iconUrl, "preview"); + iconUrl.value = + getProxiedImageUrlNullable(instance.value.iconUrl, "preview") ?? + getProxiedImageUrlNullable(instance.value.faviconUrl, "preview"); } async function toggleBlock() {