#1545 Remove SearchTargets.GLOBAL from the front-end
This commit is contained in:
parent
6ff3525764
commit
057f0a3744
|
@ -110,21 +110,6 @@
|
||||||
>{{ t("In this instance's network") }}</label
|
>{{ t("In this instance's network") }}</label
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<input
|
|
||||||
id="globalTarget"
|
|
||||||
v-model="searchTarget"
|
|
||||||
type="radio"
|
|
||||||
name="searchTarget"
|
|
||||||
:value="SearchTargets.GLOBAL"
|
|
||||||
class="w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600"
|
|
||||||
/>
|
|
||||||
<label
|
|
||||||
for="globalTarget"
|
|
||||||
class="ml-3 font-medium text-gray-900 dark:text-gray-300"
|
|
||||||
>{{ t("On the Fediverse") }}</label
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1310,7 +1295,7 @@ const handleSearchConfigChanged = (
|
||||||
searchConfigChanged?.global?.isEnabled &&
|
searchConfigChanged?.global?.isEnabled &&
|
||||||
searchConfigChanged?.global?.isDefault
|
searchConfigChanged?.global?.isDefault
|
||||||
) {
|
) {
|
||||||
searchTarget.value = SearchTargets.GLOBAL;
|
searchTarget.value = SearchTargets.INTERNAL;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue