mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-04 01:38:59 +09:00
lint
This commit is contained in:
parent
6fdb004d48
commit
bd0b7f90cf
@ -68,7 +68,9 @@ function redirectIfNotEmbedPage() {
|
||||
router.replace(`/clips/${props.clipId}`);
|
||||
}
|
||||
}
|
||||
|
||||
redirectIfNotEmbedPage();
|
||||
|
||||
onActivated(redirectIfNotEmbedPage);
|
||||
|
||||
// デフォルト: true
|
||||
|
@ -32,7 +32,9 @@ function redirectIfNotEmbedPage() {
|
||||
router.replace(`/notes/${props.noteId}`);
|
||||
}
|
||||
}
|
||||
|
||||
redirectIfNotEmbedPage();
|
||||
|
||||
onActivated(redirectIfNotEmbedPage);
|
||||
|
||||
provide('EMBED_ORIGINAL_ENTITY_URL', `${url}/notes/${props.noteId}`);
|
||||
|
@ -74,7 +74,9 @@ function redirectIfNotEmbedPage() {
|
||||
router.replace(`/@${props.username}`);
|
||||
}
|
||||
}
|
||||
|
||||
redirectIfNotEmbedPage();
|
||||
|
||||
onActivated(redirectIfNotEmbedPage);
|
||||
|
||||
// デフォルト: true
|
||||
|
Loading…
Reference in New Issue
Block a user