From 009813cbc40bfd186037ccb7f327225357ef34e9 Mon Sep 17 00:00:00 2001
From: muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>
Date: Mon, 21 Nov 2022 20:31:49 +0530
Subject: Fix for  services self hosted url / Team Id / Include pre-releases
 not updating  (#785)

* fix: self hosted team/url options not working properly in edit service form
* fix: Include pre-releases toggle not working
---
 src/components/settings/services/EditServiceForm.tsx | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

(limited to 'src/components/settings/services/EditServiceForm.tsx')

diff --git a/src/components/settings/services/EditServiceForm.tsx b/src/components/settings/services/EditServiceForm.tsx
index b594fcd40..112e5a452 100644
--- a/src/components/settings/services/EditServiceForm.tsx
+++ b/src/components/settings/services/EditServiceForm.tsx
@@ -293,18 +293,14 @@ class EditServiceForm extends Component<IProps, IState> {
             {(recipe.hasTeamId || recipe.hasCustomUrl) && (
               <Tabs active={activeTabIndex}>
                 {recipe.hasHostedOption && (
-                  <TabItem
-                  // title={recipe.name} // TODO - [TS DEBT] property not used inside TabItem need to check it
-                  >
+                  <TabItem title={recipe.name}>
                     {intl.formatMessage(messages.useHostedService, {
                       name: recipe.name,
                     })}
                   </TabItem>
                 )}
                 {recipe.hasTeamId && (
-                  <TabItem
-                  // title={intl.formatMessage(messages.tabHosted)} // TODO - [TS DEBT] property not used inside TabItem need to check it
-                  >
+                  <TabItem title={intl.formatMessage(messages.tabHosted)}>
                     <Input
                       {...form.$('team').bind()}
                       prefix={recipe.urlInputPrefix}
@@ -313,9 +309,7 @@ class EditServiceForm extends Component<IProps, IState> {
                   </TabItem>
                 )}
                 {recipe.hasCustomUrl && (
-                  <TabItem
-                  // title={intl.formatMessage(messages.tabOnPremise)} // TODO - [TS DEBT] property not used inside TabItem need to check it
-                  >
+                  <TabItem title={intl.formatMessage(messages.tabOnPremise)}>
                     <Input {...form.$('customUrl').bind()} />
                     {form.error === 'url-validation-error' && (
                       <p className="franz-form__error">
-- 
cgit v1.2.3-70-g09d2

