mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
fix: show follow requests even if not locked
This commit is contained in:
parent
ca686382b9
commit
95ca9701e9
@ -1088,6 +1088,7 @@ preventAiLearning: "Prevent AI bot scraping"
|
||||
preventAiLearningDescription: "Request third-party AI language models not to study\
|
||||
\ content you upload, such as posts and images."
|
||||
noGraze: "Please disable the \"Graze for Mastodon\" browser extension, as it interferes with Calckey."
|
||||
silencedWarning: "This page is showing because these usera are from servers your admin silenced, so they may potentially be spam."
|
||||
|
||||
_sensitiveMediaDetection:
|
||||
description: "Reduces the effort of server moderation through automatically recognizing\
|
||||
|
@ -34,7 +34,7 @@ export const navbarItemDef = reactive({
|
||||
followRequests: {
|
||||
title: "followRequests",
|
||||
icon: "ph-hand-waving ph-bold ph-lg",
|
||||
show: computed(() => $i?.isLocked),
|
||||
show: computed(() => $i?.isLocked || $i?.hasPendingReceivedFollowRequest),
|
||||
indicated: computed(() => $i?.hasPendingReceivedFollowRequest),
|
||||
to: "/my/follow-requests",
|
||||
},
|
||||
|
@ -7,12 +7,19 @@
|
||||
<div class="_fullinfo">
|
||||
<img
|
||||
src="/static-assets/badges/info.png"
|
||||
aria-label="none"
|
||||
class="_ghost"
|
||||
/>
|
||||
<div>{{ i18n.ts.noFollowRequests }}</div>
|
||||
</div>
|
||||
</template>
|
||||
<template #default="{ items }">
|
||||
<MkInfo
|
||||
v-if="$i?.isLocked === false"
|
||||
warn
|
||||
class="info"
|
||||
>{{ i18n.ts.silencedWarning }}
|
||||
</MkInfo>
|
||||
<div class="mk-follow-requests">
|
||||
<div
|
||||
v-for="req in items"
|
||||
@ -82,6 +89,7 @@ import { userPage, acct } from "@/filters/user";
|
||||
import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
import { $i } from "@/account";
|
||||
|
||||
const paginationComponent = ref<InstanceType<typeof MkPagination>>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user