requested changes.
This commit is contained in:
parent
ee93b5d480
commit
eb88920f41
3 changed files with 11 additions and 5 deletions
|
|
@ -259,8 +259,13 @@ function refresh(withFetch = false) {
|
|||
activityPub.value = info?.activityPub ?? null;
|
||||
linkAttribution.value = info?.linkAttribution ?? null;
|
||||
if (linkAttribution.value) {
|
||||
misskeyApi('users/show', { userId: linkAttribution.value.userId })
|
||||
.then(u => attributionUser.value = u);
|
||||
try {
|
||||
const response = await misskeyApi('users/show', { userId: linkAttribution.value.userId });
|
||||
attributionUser.value = response;
|
||||
} catch {
|
||||
// makes the loading ellipsis vanish.
|
||||
linkAttribution.value = null;
|
||||
}
|
||||
}
|
||||
|
||||
theNote.value = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue