mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-02 17:57:57 -05:00
refac
This commit is contained in:
1 parent
95fa5937db
commit
f59a3aff85
83 files changed
+1177
-76
No files matched your search
@@ -75,6 +75,7 @@
|
||||
ENABLE_APPS: $i18n.t('settings.admin.general.apps.label'),
|
||||
ENABLE_CALENDAR: $i18n.t('settings.admin.general.calendar.label'),
|
||||
ENABLE_AUTOMATIONS: $i18n.t('settings.admin.general.automations.label'),
|
||||
ENABLE_AUTOMATION_WEBHOOKS: $i18n.t('settings.admin.general.automationWebhooks.label'),
|
||||
ENABLE_USER_WEBHOOKS: $i18n.t('settings.admin.general.userWebhooks.label'),
|
||||
ENABLE_USER_STATUS: $i18n.t('settings.admin.general.userStatus.label'),
|
||||
RESPONSE_WATERMARK: $i18n.t('settings.admin.general.responseWatermark.label'),
|
||||
@@ -525,6 +526,18 @@
|
||||
>
|
||||
<Switch bind:state={adminConfig.ENABLE_AUTOMATIONS} ariaLabelledbyId={labelId} />
|
||||
</AdminSettingRow>
|
||||
{#if adminConfig.ENABLE_AUTOMATIONS}
|
||||
<AdminSettingRow
|
||||
label={$i18n.t('settings.admin.general.automationWebhooks.label')}
|
||||
description={$i18n.t('settings.admin.general.automationWebhooks.description')}
|
||||
let:labelId
|
||||
>
|
||||
<Switch
|
||||
bind:state={adminConfig.ENABLE_AUTOMATION_WEBHOOKS}
|
||||
ariaLabelledbyId={labelId}
|
||||
/>
|
||||
</AdminSettingRow>
|
||||
{/if}
|
||||
<AdminSettingRow
|
||||
label={$i18n.t('settings.admin.general.userWebhooks.label')}
|
||||
description={$i18n.t('settings.admin.general.userWebhooks.description')}
|
||||
|
||||
Reference in new issue
Block a user