mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-15 08:05:02 +00:00
19 lines
661 B
Svelte
19 lines
661 B
Svelte
<script lang="ts">
|
|
import env from "$lib/env";
|
|
import { t } from "$lib/i18n/translations";
|
|
|
|
import SettingsToggle from "$components/buttons/SettingsToggle.svelte";
|
|
import SettingsCategory from "$components/settings/SettingsCategory.svelte";
|
|
</script>
|
|
|
|
{#if env.DEFAULT_API}
|
|
<SettingsCategory sectionId="override" title={$t("settings.processing.override")}>
|
|
<SettingsToggle
|
|
settingContext="processing"
|
|
settingId="allowDefaultOverride"
|
|
title={$t("settings.processing.override.title")}
|
|
description={$t("settings.processing.override.description")}
|
|
/>
|
|
</SettingsCategory>
|
|
{/if}
|