mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
リモートのノートは埋め込めないように
This commit is contained in:
parent
2a957af8d1
commit
2fdf1d19b8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user