|
@@ -196,10 +196,13 @@ class TencentConfig extends Component {
|
|
|
</FormattedMessage>
|
|
</FormattedMessage>
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col offset={2} span={6}>
|
|
<Col offset={2} span={6}>
|
|
|
- <Button type='primary'
|
|
|
|
|
- disabled={data.project_by_id.schema_id.schemaState === 'ok' ? '' : 'disabled'}
|
|
|
|
|
- onClick={() => this.deployFC()}><FormattedMessage
|
|
|
|
|
- id="deploy"/>!</Button>
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ data.project_by_id.schema_id.schemaState === 'ok' ?
|
|
|
|
|
+ <Button type='primary' onClick={() => this.deployFC()}><FormattedMessage id="deploy"/>!</Button>
|
|
|
|
|
+ :
|
|
|
|
|
+ <Button type='primary' disabled><FormattedMessage id="deploy"/>!</Button>
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</div>
|
|
</div>
|