mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fix for rendering federated registry logo
This commit is contained in:
parent
2f723f3759
commit
fdf8086afa
@ -69,7 +69,7 @@ export function useContact(contact, back) {
|
|||||||
const host = node ? node : server;
|
const host = node ? node : server;
|
||||||
|
|
||||||
const username = `${handle}/${node}`
|
const username = `${handle}/${node}`
|
||||||
const imageSource = imageSet ? { uri: getListingImageUrl(server, guid) } : avatar;
|
const imageSource = imageSet ? { uri: getListingImageUrl(host, guid) } : avatar;
|
||||||
updateState({ guid, handle, node: host, name, location, description, imageSource, username, offsync: false, status: 'unsaved' });
|
updateState({ guid, handle, node: host, name, location, description, imageSource, username, offsync: false, status: 'unsaved' });
|
||||||
}
|
}
|
||||||
}, [contact, card.state, profile.state]);
|
}, [contact, card.state, profile.state]);
|
||||||
|
Loading…
Reference in New Issue
Block a user