client: fix federate blocks option not showing

This commit is contained in:
Norm 2022-11-18 15:10:56 -05:00
parent 41a710854e
commit e1def3ae9e
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
2 changed files with 11 additions and 10 deletions

View file

@ -1,14 +1,14 @@
<template> <template>
<div class="_formRoot"> <div class="_formRoot">
<FormSwitch v-model="isLocked" class="_formBlock" @update:modelValue="save()">{{ i18n.ts.makeFollowManuallyApprove }}<template #caption>{{ i18n.ts.lockedAccountInfo }}</template></FormSwitch> <FormSwitch v-model="isLocked" class="_formBlock" @update:model-value="save()">{{ i18n.ts.makeFollowManuallyApprove }}<template #caption>{{ i18n.ts.lockedAccountInfo }}</template></FormSwitch>
<FormSwitch v-if="isLocked" v-model="autoAcceptFollowed" class="_formBlock" @update:modelValue="save()">{{ i18n.ts.autoAcceptFollowed }}</FormSwitch> <FormSwitch v-if="isLocked" v-model="autoAcceptFollowed" class="_formBlock" @update:model-value="save()">{{ i18n.ts.autoAcceptFollowed }}</FormSwitch>
<FormSwitch v-model="publicReactions" class="_formBlock" @update:modelValue="save()"> <FormSwitch v-model="publicReactions" class="_formBlock" @update:model-value="save()">
{{ i18n.ts.makeReactionsPublic }} {{ i18n.ts.makeReactionsPublic }}
<template #caption>{{ i18n.ts.makeReactionsPublicDescription }}</template> <template #caption>{{ i18n.ts.makeReactionsPublicDescription }}</template>
</FormSwitch> </FormSwitch>
<FormSelect v-model="ffVisibility" class="_formBlock" @update:modelValue="save()"> <FormSelect v-model="ffVisibility" class="_formBlock" @update:model-value="save()">
<template #label>{{ i18n.ts.ffVisibility }}</template> <template #label>{{ i18n.ts.ffVisibility }}</template>
<option value="public">{{ i18n.ts._ffVisibility.public }}</option> <option value="public">{{ i18n.ts._ffVisibility.public }}</option>
<option value="followers">{{ i18n.ts._ffVisibility.followers }}</option> <option value="followers">{{ i18n.ts._ffVisibility.followers }}</option>
@ -16,21 +16,21 @@
<template #caption>{{ i18n.ts.ffVisibilityDescription }}</template> <template #caption>{{ i18n.ts.ffVisibilityDescription }}</template>
</FormSelect> </FormSelect>
<FormSwitch v-model="hideOnlineStatus" class="_formBlock" @update:modelValue="save()"> <FormSwitch v-model="hideOnlineStatus" class="_formBlock" @update:model-value="save()">
{{ i18n.ts.hideOnlineStatus }} {{ i18n.ts.hideOnlineStatus }}
<template #caption>{{ i18n.ts.hideOnlineStatusDescription }}</template> <template #caption>{{ i18n.ts.hideOnlineStatusDescription }}</template>
</FormSwitch> </FormSwitch>
<FormSwitch v-model="noCrawle" class="_formBlock" @update:modelValue="save()"> <FormSwitch v-model="noCrawle" class="_formBlock" @update:model-value="save()">
{{ i18n.ts.noCrawle }} {{ i18n.ts.noCrawle }}
<template #caption>{{ i18n.ts.noCrawleDescription }}</template> <template #caption>{{ i18n.ts.noCrawleDescription }}</template>
</FormSwitch> </FormSwitch>
<FormSwitch v-model="isExplorable" class="_formBlock" @update:modelValue="save()"> <FormSwitch v-model="isExplorable" class="_formBlock" @update:model-value="save()">
{{ i18n.ts.makeExplorable }} {{ i18n.ts.makeExplorable }}
<template #caption>{{ i18n.ts.makeExplorableDescription }}</template> <template #caption>{{ i18n.ts.makeExplorableDescription }}</template>
</FormSwitch> </FormSwitch>
<FormSwitch v-model="federateBlocks" @update:value="save()"> <FormSwitch v-model="federateBlocks" @update:model-value="save()">
{{ $ts.federateBlocks }} {{ i18n.ts.federateBlocks }}
<template #caption>{{ $ts.federateBlocksDescription }}</template> <template #caption>{{ i18n.ts.federateBlocksDescription }}</template>
</FormSwitch> </FormSwitch>
<FormSection> <FormSection>

View file

@ -106,6 +106,7 @@ export type MeDetailed = UserDetailed & {
noCrawle: boolean; noCrawle: boolean;
receiveAnnouncementEmail: boolean; receiveAnnouncementEmail: boolean;
usePasswordLessLogin: boolean; usePasswordLessLogin: boolean;
federateBlocks: boolean;
[other: string]: any; [other: string]: any;
}; };