mediaまわりの修正
This commit is contained in:
@@ -44,6 +44,7 @@ const props = defineProps<{
|
||||
}>();
|
||||
|
||||
const mock = inject<boolean>('mock', false);
|
||||
const inEmbedPage = inject<boolean>('EMBED_PAGE', false);
|
||||
|
||||
const emit = defineEmits<{
|
||||
(ev: 'reactionToggled', emoji: string, newCount: number): void;
|
||||
@@ -140,7 +141,7 @@ onMounted(() => {
|
||||
if (!props.isInitial) anime();
|
||||
});
|
||||
|
||||
if (!mock) {
|
||||
if (!mock && !inEmbedPage) {
|
||||
useTooltip(buttonEl, async (showing) => {
|
||||
const reactions = await misskeyApiGet('notes/reactions', {
|
||||
noteId: props.note.id,
|
||||
|
Reference in New Issue
Block a user