mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
リモートのノートは埋め込めないように
This commit is contained in:
parent
2a957af8d1
commit
2fdf1d19b8
@ -44,7 +44,10 @@ const loading = ref(true);
|
||||
misskeyApi('notes/show', {
|
||||
noteId: props.noteId,
|
||||
}).then(res => {
|
||||
note.value = res;
|
||||
// リモートのノートは埋め込ませない
|
||||
if (res.url == null && res.uri == null) {
|
||||
note.value = res;
|
||||
}
|
||||
loading.value = false;
|
||||
}).catch(err => {
|
||||
console.error(err);
|
||||
|
Loading…
Reference in New Issue
Block a user