feat: show Domain field for Qiniu storage provider (#3318)

allow Qiniu Provider to edit the Domain property in the edit page.
This commit is contained in:
ithilelda
2024-10-27 14:10:58 +08:00
committed by GitHub
parent f7559aa040
commit c190634cf3

View File

@ -908,7 +908,7 @@ class ProviderEditPage extends React.Component {
</Col>
</Row>
)}
{["Custom HTTP SMS", "Qiniu Cloud Kodo", "Synology", "Casdoor"].includes(this.state.provider.type) ? null : (
{["Custom HTTP SMS", "Synology", "Casdoor"].includes(this.state.provider.type) ? null : (
<Row style={{marginTop: "20px"}} >
<Col style={{marginTop: "5px"}} span={2}>
{Setting.getLabel(i18next.t("provider:Domain"), i18next.t("provider:Domain - Tooltip"))} :