mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-08 04:54:32 +00:00
collapse moderation note if empty
This commit is contained in:
parent
d717df938b
commit
1ac8ceb8a6
1 changed files with 7 additions and 3 deletions
|
@ -111,10 +111,14 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</template>
|
</template>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
|
<MkFolder v-if="iAmModerator" :defaultOpen="moderationNote.length > 0">
|
||||||
|
<template #icon><i class="ph-stamp ph-bold ph-lg"></i></template>
|
||||||
|
<template #label>{{ i18n.ts.moderationNote }}</template>
|
||||||
<MkTextarea v-model="moderationNote" manualSave @update:modelValue="onModerationNoteChanged">
|
<MkTextarea v-model="moderationNote" manualSave @update:modelValue="onModerationNoteChanged">
|
||||||
<template #label>{{ i18n.ts.moderationNote }}</template>
|
<template #label>{{ i18n.ts.moderationNote }}</template>
|
||||||
<template #caption>{{ i18n.ts.moderationNoteDescription }}</template>
|
<template #caption>{{ i18n.ts.moderationNoteDescription }}</template>
|
||||||
</MkTextarea>
|
</MkTextarea>
|
||||||
|
</MkFolder>
|
||||||
|
|
||||||
<FormSection v-if="user?.host">
|
<FormSection v-if="user?.host">
|
||||||
<template #label>{{ i18n.ts.activityPub }}</template>
|
<template #label>{{ i18n.ts.activityPub }}</template>
|
||||||
|
|
Loading…
Add table
Reference in a new issue