リモートのノートは埋め込めないように

This commit is contained in:
kakkokari-gtyih 2024-06-26 19:02:09 +09:00
parent 2a957af8d1
commit 2fdf1d19b8

View File

@ -44,7 +44,10 @@ const loading = ref(true);
misskeyApi('notes/show', { misskeyApi('notes/show', {
noteId: props.noteId, noteId: props.noteId,
}).then(res => { }).then(res => {
note.value = res; //
if (res.url == null && res.uri == null) {
note.value = res;
}
loading.value = false; loading.value = false;
}).catch(err => { }).catch(err => {
console.error(err); console.error(err);