mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
fix: pricingMode select
This commit is contained in:
parent
14658277c0
commit
cbb587e328
@ -95,7 +95,8 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate:
|
|||||||
title={t`Confirm pricing mode`}
|
title={t`Confirm pricing mode`}
|
||||||
description={t`Are you sure about this setting? This may result in additional charges from the API Provider`}
|
description={t`Are you sure about this setting? This may result in additional charges from the API Provider`}
|
||||||
onCancel={() => {
|
onCancel={() => {
|
||||||
setOvhPricingModeValue('create-default');
|
form.resetFields(['authData'])
|
||||||
|
setOvhPricingModeValue(undefined)
|
||||||
setOpen(false)
|
setOpen(false)
|
||||||
}}
|
}}
|
||||||
onConfirm={() => setOpen(false)}
|
onConfirm={() => setOpen(false)}
|
||||||
@ -104,6 +105,7 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate:
|
|||||||
<Select options={ovhPricingMode} optionFilterProp="label" value={ovhPricingModeValue}
|
<Select options={ovhPricingMode} optionFilterProp="label" value={ovhPricingModeValue}
|
||||||
onChange={(value: string) => {
|
onChange={(value: string) => {
|
||||||
setOvhPricingModeValue(value)
|
setOvhPricingModeValue(value)
|
||||||
|
form.setFieldValue(['authData', 'pricingMode'], value)
|
||||||
if (value !== 'create-default') {
|
if (value !== 'create-default') {
|
||||||
setOpen(true)
|
setOpen(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,10 +18,10 @@ msgstr ""
|
|||||||
#: assets/components/tracking/ConnectorForm.tsx:77
|
#: assets/components/tracking/ConnectorForm.tsx:77
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:84
|
#: assets/components/tracking/ConnectorForm.tsx:84
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:92
|
#: assets/components/tracking/ConnectorForm.tsx:92
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:120
|
#: assets/components/tracking/ConnectorForm.tsx:122
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:140
|
#: assets/components/tracking/ConnectorForm.tsx:142
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:154
|
#: assets/components/tracking/ConnectorForm.tsx:156
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:163
|
#: assets/components/tracking/ConnectorForm.tsx:165
|
||||||
#: assets/components/tracking/WatchlistForm.tsx:103
|
#: assets/components/tracking/WatchlistForm.tsx:103
|
||||||
msgid "Required"
|
msgid "Required"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -181,12 +181,12 @@ msgid ""
|
|||||||
"that may be available soon."
|
"that may be available soon."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:174
|
#: assets/components/tracking/ConnectorForm.tsx:176
|
||||||
#: assets/components/tracking/WatchlistForm.tsx:186
|
#: assets/components/tracking/WatchlistForm.tsx:186
|
||||||
msgid "Create"
|
msgid "Create"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:177
|
#: assets/components/tracking/ConnectorForm.tsx:179
|
||||||
#: assets/components/tracking/WatchlistForm.tsx:189
|
#: assets/components/tracking/WatchlistForm.tsx:189
|
||||||
msgid "Reset"
|
msgid "Reset"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -221,41 +221,41 @@ msgid ""
|
|||||||
"the API Provider"
|
"the API Provider"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:118
|
#: assets/components/tracking/ConnectorForm.tsx:120
|
||||||
msgid "Personal Access Token (PAT)"
|
msgid "Personal Access Token (PAT)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:124
|
#: assets/components/tracking/ConnectorForm.tsx:126
|
||||||
msgid "Organization sharing ID"
|
msgid "Organization sharing ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:127
|
#: assets/components/tracking/ConnectorForm.tsx:129
|
||||||
msgid "It indicates the organization that will pay for the ordered product"
|
msgid "It indicates the organization that will pay for the ordered product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:138
|
#: assets/components/tracking/ConnectorForm.tsx:140
|
||||||
msgid "API Terms of Service"
|
msgid "API Terms of Service"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:146
|
#: assets/components/tracking/ConnectorForm.tsx:148
|
||||||
msgid ""
|
msgid ""
|
||||||
"I have read and accepted the conditions of use of the Provider API, "
|
"I have read and accepted the conditions of use of the Provider API, "
|
||||||
"accessible from this hyperlink"
|
"accessible from this hyperlink"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:152
|
#: assets/components/tracking/ConnectorForm.tsx:154
|
||||||
msgid "Legal age"
|
msgid "Legal age"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:157
|
#: assets/components/tracking/ConnectorForm.tsx:159
|
||||||
msgid "I am of the minimum age required to consent to these conditions"
|
msgid "I am of the minimum age required to consent to these conditions"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:161
|
#: assets/components/tracking/ConnectorForm.tsx:163
|
||||||
msgid "Withdrawal period"
|
msgid "Withdrawal period"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/ConnectorForm.tsx:166
|
#: assets/components/tracking/ConnectorForm.tsx:168
|
||||||
msgid ""
|
msgid ""
|
||||||
"I waive my right of withdrawal regarding the purchase of domain names via "
|
"I waive my right of withdrawal regarding the purchase of domain names via "
|
||||||
"the Provider's API"
|
"the Provider's API"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user