リモートのノートは埋め込めないように
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