diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-01-27 02:06:07 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-02-05 14:20:39 -0500 |
| commit | 516500bbc59cebce42dcaec3b17c9c46aa334852 (patch) | |
| tree | 86fe2505834bd449f166c967e1f90b534d565b04 /packages/frontend/src/pages/user | |
| parent | show pending inbound follow requests on a user's profile (diff) | |
| download | sharkey-516500bbc59cebce42dcaec3b17c9c46aa334852.tar.gz sharkey-516500bbc59cebce42dcaec3b17c9c46aa334852.tar.bz2 sharkey-516500bbc59cebce42dcaec3b17c9c46aa334852.zip | |
fix lint errors
Diffstat (limited to 'packages/frontend/src/pages/user')
| -rw-r--r-- | packages/frontend/src/pages/user/home.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 837413305e..d8f2f16da5 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -41,8 +41,8 @@ SPDX-License-Identifier: AGPL-3.0-only </ul> <div :class="$style.actions" class="actions"> <button :class="$style.actionsMenu" class="menu _button" @click="menu"><i class="ti ti-dots"></i></button> - <MkFollowButton :class="$style.actionsFollow" v-if="$i?.id != user.id" v-model:user="user" :disabled="disableFollowControls" :inline="true" :transparent="false" :full="true" class="koudoku" @update:wait="d => disableFollowControls = d" /> - <div v-if="user.hasPendingFollowRequestToYou" :class="$style.actionsBanner" >{{ i18n.ts.receiveFollowRequest }}</div> + <MkFollowButton v-if="$i?.id != user.id" v-model:user="user" :class="$style.actionsFollow" :disabled="disableFollowControls" :inline="true" :transparent="false" :full="true" class="koudoku" @update:wait="d => disableFollowControls = d"/> + <div v-if="user.hasPendingFollowRequestToYou" :class="$style.actionsBanner">{{ i18n.ts.receiveFollowRequest }}</div> <MkButton v-if="user.hasPendingFollowRequestToYou" :class="$style.actionsAccept" :disabled="disableFollowControls" :inline="true" :transparent="false" :full="true" rounded primary @click="acceptFollowRequest"><i class="ti ti-check"/> {{ i18n.ts.accept }}</MkButton> <MkButton v-if="user.hasPendingFollowRequestToYou" :class="$style.actionsReject" :disabled="disableFollowControls" :inline="true" :transparent="false" :full="true" rounded danger @click="rejectFollowRequest"><i class="ti ti-x"/> {{ i18n.ts.reject }}</MkButton> </div> @@ -223,8 +223,8 @@ import MkSparkle from '@/components/MkSparkle.vue'; const MkNote = defineAsyncComponent(() => defaultStore.state.noteDesign === 'sharkey' - ? import('@/components/SkNote.vue') - : import('@/components/MkNote.vue'), + ? import('@/components/SkNote.vue') + : import('@/components/MkNote.vue'), ); function calcAge(birthdate: string): number { |