chore: hide field of IntranetEndpoint in Tencent COS storage provider (#2117)

This commit is contained in:
UsherFall 2023-07-23 19:02:42 +08:00 committed by GitHub
parent aee3ea4981
commit 8669d5bb0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -628,7 +628,7 @@ class ProviderEditPage extends React.Component {
</Col>
</Row>
)}
{["Local File System", "MinIO"].includes(this.state.provider.type) ? null : (
{["Local File System", "MinIO", "Tencent Cloud COS"].includes(this.state.provider.type) ? null : (
<Row style={{marginTop: "20px"}} >
<Col style={{marginTop: "5px"}} span={2}>
{Setting.getLabel(i18next.t("provider:Endpoint (Intranet)"), i18next.t("provider:Region endpoint for Intranet"))} :