fix inverted canHideAds condition
This commit is contained in:
parent
f95ed0faa7
commit
52efe033f5
1 changed files with 1 additions and 1 deletions
|
|
@ -915,7 +915,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<SearchMarker :keywords="['ad', 'show', 'hide']">
|
<SearchMarker :keywords="['ad', 'show', 'hide']">
|
||||||
<MkPreferenceContainer k="forceShowAds">
|
<MkPreferenceContainer k="forceShowAds">
|
||||||
<MkSwitch v-model="hideAds" :disabled="$i.policies.canHideAds">
|
<MkSwitch v-model="hideAds" :disabled="!$i.policies.canHideAds">
|
||||||
<template #label><SearchLabel>{{ i18n.ts.hideAds }}</SearchLabel></template>
|
<template #label><SearchLabel>{{ i18n.ts.hideAds }}</SearchLabel></template>
|
||||||
</MkSwitch>
|
</MkSwitch>
|
||||||
</MkPreferenceContainer>
|
</MkPreferenceContainer>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue