diff --git a/src/lib/components/AddToolServerModal.svelte b/src/lib/components/AddToolServerModal.svelte index 90165eadf3..2fe7be9ff8 100644 --- a/src/lib/components/AddToolServerModal.svelte +++ b/src/lib/components/AddToolServerModal.svelte @@ -80,10 +80,9 @@ const selectClass = 'bg-transparent pr-5 outline-hidden placeholder:text-gray-300 dark:placeholder:text-gray-700'; const oauthAuthTypes = ['oauth_2.1', 'oauth_2.1_static']; - const verifyLabel = () => - oauthAuthTypes.includes(auth_type) - ? $i18n.t('Check OAuth Discovery') - : $i18n.t('Verify Connection'); + $: verifyLabel = oauthAuthTypes.includes(auth_type) + ? $i18n.t('Check OAuth Discovery') + : $i18n.t('Verify Connection'); const verifySuccessMessage = () => oauthAuthTypes.includes(auth_type) ? $i18n.t('OAuth discovery successful') @@ -686,13 +685,13 @@ required /> - +