aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings
diff options
context:
space:
mode:
authorLibravatar muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>2022-11-21 20:31:49 +0530
committerLibravatar GitHub <noreply@github.com>2022-11-21 20:31:49 +0530
commit009813cbc40bfd186037ccb7f327225357ef34e9 (patch)
tree1fcbee64b0b10256d694ba0cf687d968ae7d8da1 /src/components/settings
parent6.2.1-nightly.48 [skip ci] (diff)
downloadferdium-app-009813cbc40bfd186037ccb7f327225357ef34e9.tar.gz
ferdium-app-009813cbc40bfd186037ccb7f327225357ef34e9.tar.zst
ferdium-app-009813cbc40bfd186037ccb7f327225357ef34e9.zip
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
Diffstat (limited to 'src/components/settings')
-rw-r--r--src/components/settings/services/EditServiceForm.tsx12
1 files changed, 3 insertions, 9 deletions
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> {
293 {(recipe.hasTeamId || recipe.hasCustomUrl) && ( 293 {(recipe.hasTeamId || recipe.hasCustomUrl) && (
294 <Tabs active={activeTabIndex}> 294 <Tabs active={activeTabIndex}>
295 {recipe.hasHostedOption && ( 295 {recipe.hasHostedOption && (
296 <TabItem 296 <TabItem title={recipe.name}>
297 // title={recipe.name} // TODO - [TS DEBT] property not used inside TabItem need to check it
298 >
299 {intl.formatMessage(messages.useHostedService, { 297 {intl.formatMessage(messages.useHostedService, {
300 name: recipe.name, 298 name: recipe.name,
301 })} 299 })}
302 </TabItem> 300 </TabItem>
303 )} 301 )}
304 {recipe.hasTeamId && ( 302 {recipe.hasTeamId && (
305 <TabItem 303 <TabItem title={intl.formatMessage(messages.tabHosted)}>
306 // title={intl.formatMessage(messages.tabHosted)} // TODO - [TS DEBT] property not used inside TabItem need to check it
307 >
308 <Input 304 <Input
309 {...form.$('team').bind()} 305 {...form.$('team').bind()}
310 prefix={recipe.urlInputPrefix} 306 prefix={recipe.urlInputPrefix}
@@ -313,9 +309,7 @@ class EditServiceForm extends Component<IProps, IState> {
313 </TabItem> 309 </TabItem>
314 )} 310 )}
315 {recipe.hasCustomUrl && ( 311 {recipe.hasCustomUrl && (
316 <TabItem 312 <TabItem title={intl.formatMessage(messages.tabOnPremise)}>
317 // title={intl.formatMessage(messages.tabOnPremise)} // TODO - [TS DEBT] property not used inside TabItem need to check it
318 >
319 <Input {...form.$('customUrl').bind()} /> 313 <Input {...form.$('customUrl').bind()} />
320 {form.error === 'url-validation-error' && ( 314 {form.error === 'url-validation-error' && (
321 <p className="franz-form__error"> 315 <p className="franz-form__error">