From 4753ae01f9c1af0ffd649939e0ddc644f22fb9df Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 6 Dec 2024 15:21:49 +0100 Subject: [PATCH] fix: minor on collection filters, #482 --- plugins/formatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/formatter.js b/plugins/formatter.js index c3db7062..abbc0409 100644 --- a/plugins/formatter.js +++ b/plugins/formatter.js @@ -15,7 +15,7 @@ export default ({ app, store }, inject) => { } } else if (context === 'icon') { if (actor?.ap_id) { - return actor?.object?.icon?.url ?? `${item.url}/favicon.ico` + return actor?.object?.icon?.url ?? `${actor?.instanceDomain ?? actor?.domain ?? '' }/favicon.ico` } else { return store.state.settings.baseurl + '/logo.png' }