fix: minor on collection filters, #482

This commit is contained in:
lesion 2024-12-06 15:21:49 +01:00
parent 477d81e1db
commit 4753ae01f9
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -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'
}