Frontend: Fixed reactions and invalid access
ci/woodpecker/push/ociImagePush Pipeline failed
Details
ci/woodpecker/push/ociImagePush Pipeline failed
Details
This commit is contained in:
parent
3efc376f2b
commit
0ed06ee68f
|
@ -19,7 +19,7 @@
|
|||
@after-enter="onOpened"
|
||||
>
|
||||
<FocusTrap
|
||||
v-model:active="isActive"
|
||||
v-model:active="manualShowing != null ? manualShowing : showing"
|
||||
:return-focus-on-deactivate="!noReturnFocus"
|
||||
>
|
||||
<div
|
||||
|
@ -77,7 +77,7 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { nextTick, onMounted, watch, provide, onUnmounted } from "vue";
|
||||
import { nextTick, onMounted, onUnmounted, provide, watch } from "vue";
|
||||
import * as os from "@/os";
|
||||
import { isTouchUsing } from "@/scripts/touch";
|
||||
import { defaultStore } from "@/store";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
: Object.entries(note.reactions)"
|
||||
:key="magReactionPairToLegacy(r)[0]"
|
||||
:reaction="magReactionPairToLegacy(r)[0]"
|
||||
:url="'url' in r[0] ? r[0]['url'] : undefined"
|
||||
:url="typeof r[0]['url'] !== 'undefined' ? r[0]['url'] : undefined"
|
||||
:count="magReactionPairToLegacy(r)[1]"
|
||||
:is-initial="initialReactions.has(magReactionPairToLegacy(r)[0])"
|
||||
:note="note"
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
</nav>
|
||||
</template>
|
||||
<div class="buttons right">
|
||||
<template v-if="metadata.avatar">
|
||||
<template v-if="metadata?.avatar">
|
||||
<MkFollowButton
|
||||
v-if="narrow"
|
||||
:user="metadata.avatar"
|
||||
|
@ -121,21 +121,10 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {
|
||||
computed,
|
||||
onMounted,
|
||||
onUnmounted,
|
||||
ref,
|
||||
inject,
|
||||
watch,
|
||||
shallowReactive,
|
||||
nextTick,
|
||||
reactive,
|
||||
} from "vue";
|
||||
import { inject, nextTick, onMounted, onUnmounted, ref, watch } from "vue";
|
||||
import MkFollowButton from "@/components/MkFollowButton.vue";
|
||||
import { popupMenu } from "@/os";
|
||||
import { scrollToTop } from "@/scripts/scroll";
|
||||
import { globalEvents } from "@/events";
|
||||
import { injectPageMetadata } from "@/scripts/page-metadata";
|
||||
import { $i, openAccountMenu as openAccountMenu_ } from "@/account";
|
||||
import { i18n } from "@/i18n";
|
||||
|
|
Loading…
Reference in New Issue