wip
This commit is contained in:
parent
8775d9f707
commit
5e5208f94e
|
@ -58,8 +58,6 @@ const props = defineProps<{
|
||||||
clipId: string;
|
clipId: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
onActivated(redirectIfNotEmbedPage);
|
|
||||||
|
|
||||||
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
||||||
|
|
||||||
const clip = ref<Misskey.entities.Clip | null>(null);
|
const clip = ref<Misskey.entities.Clip | null>(null);
|
||||||
|
|
|
@ -22,8 +22,6 @@ const props = defineProps<{
|
||||||
noteId: string;
|
noteId: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
onActivated(redirectIfNotEmbedPage);
|
|
||||||
|
|
||||||
provide('EMBED_ORIGINAL_ENTITY_URL', `/notes/${props.noteId}`);
|
provide('EMBED_ORIGINAL_ENTITY_URL', `/notes/${props.noteId}`);
|
||||||
|
|
||||||
const note = ref<Misskey.entities.Note | null>(null);
|
const note = ref<Misskey.entities.Note | null>(null);
|
||||||
|
|
|
@ -55,10 +55,6 @@ const props = defineProps<{
|
||||||
tag: string;
|
tag: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
redirectIfNotEmbedPage();
|
|
||||||
|
|
||||||
onActivated(redirectIfNotEmbedPage);
|
|
||||||
|
|
||||||
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
||||||
|
|
||||||
const pagination = computed(() => ({
|
const pagination = computed(() => ({
|
||||||
|
|
|
@ -65,10 +65,6 @@ const props = defineProps<{
|
||||||
username: string;
|
username: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
redirectIfNotEmbedPage();
|
|
||||||
|
|
||||||
onActivated(redirectIfNotEmbedPage);
|
|
||||||
|
|
||||||
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
||||||
|
|
||||||
const user = ref<Misskey.entities.UserLite | null>(null);
|
const user = ref<Misskey.entities.UserLite | null>(null);
|
||||||
|
|
Loading…
Reference in a new issue