Merge pull request #1474 from loadchange/feat/1.1.0
fix: config editor beta button
This commit is contained in:
commit
df1f912f92
@ -359,6 +359,7 @@ class ConfigEditor extends React.Component {
|
||||
render() {
|
||||
const {
|
||||
loading,
|
||||
betaIps,
|
||||
openAdvancedSettings,
|
||||
isBeta,
|
||||
isNewConfig,
|
||||
@ -517,7 +518,12 @@ class ConfigEditor extends React.Component {
|
||||
</Button>
|
||||
)}
|
||||
{isBeta && tabActiveKey !== 'production' && (
|
||||
<Button size="large" type="primary" onClick={() => this.openDiff('publishBeta')}>
|
||||
<Button
|
||||
size="large"
|
||||
type="primary"
|
||||
disabled={!betaIps}
|
||||
onClick={() => this.openDiff('publishBeta')}
|
||||
>
|
||||
{locale.release}
|
||||
</Button>
|
||||
)}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user