#1545 Remove SearchTargets.GLOBAL from the front-end

This commit is contained in:
Massedil 2024-10-25 16:43:37 +02:00
parent 6ff3525764
commit 057f0a3744

View file

@ -110,21 +110,6 @@
>{{ t("In this instance's network") }}</label
>
</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>
</div>
@ -1310,7 +1295,7 @@ const handleSearchConfigChanged = (
searchConfigChanged?.global?.isEnabled &&
searchConfigChanged?.global?.isDefault
) {
searchTarget.value = SearchTargets.GLOBAL;
searchTarget.value = SearchTargets.INTERNAL;
}
};