{#if selectedTab === 'general'} { toast.success($i18n.t('Settings saved successfully!')); await tick(); await config.set(await getBackendConfig()); }} /> {:else if selectedTab === 'users'} { toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'connections'} { toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'models'} {:else if selectedTab === 'evaluations'} {:else if selectedTab === 'documents'} { toast.success($i18n.t('Settings saved successfully!')); await tick(); await config.set(await getBackendConfig()); }} /> {:else if selectedTab === 'web'} { toast.success($i18n.t('Settings saved successfully!')); await tick(); await config.set(await getBackendConfig()); }} /> {:else if selectedTab === 'interface'} { toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'audio'}