upd: check for remote url first before providing local url on pleaseLoginContext
This commit is contained in:
parent
a90a8e9e68
commit
ad14d2ebfa
6 changed files with 6 additions and 6 deletions
|
|
@ -377,7 +377,7 @@ let renoting = false;
|
|||
|
||||
const pleaseLoginContext = computed<OpenOnRemoteOptions>(() => ({
|
||||
type: 'lookup',
|
||||
url: `https://${host}/notes/${appearNote.value.id}`,
|
||||
url: appearNote.value.url ?? appearNote.value.uri ?? `https://${host}/notes/${appearNote.value.id}`,
|
||||
}));
|
||||
|
||||
const keymap = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue