disable hide ads setting instead of excluding it
This commit is contained in:
parent
b6b87b320e
commit
dc9c6a34b6
1 changed files with 2 additions and 2 deletions
|
|
@ -913,9 +913,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</MkFolder>
|
||||
</SearchMarker>
|
||||
|
||||
<SearchMarker v-if="$i.policies.canHideAds" :keywords="['ad', 'hide']">
|
||||
<SearchMarker :keywords="['ad', 'hide']">
|
||||
<MkPreferenceContainer k="hideAds">
|
||||
<MkSwitch v-model="hideAds">
|
||||
<MkSwitch v-model="hideAds" :disabled="$i.policies.canHideAds">
|
||||
<template #label><SearchLabel>{{ i18n.ts.hideAds }}</SearchLabel></template>
|
||||
</MkSwitch>
|
||||
</MkPreferenceContainer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue