mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Fix error when r is undefined
This commit is contained in:
parent
4b9ff0ca5b
commit
500f877d4b
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ export async function assignFollowedTags(items, instance) {
|
|||
statusWithFollowedTags.forEach((s) => {
|
||||
const { item, sKey, followedTags } = s;
|
||||
const r = relationships[item.account.id];
|
||||
if (!r.following) {
|
||||
if (r && !r.following) {
|
||||
statusFollowedTags[sKey] = followedTags;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue