diff --git a/console-ui/src/components/NewNameSpace/NewNameSpace.js b/console-ui/src/components/NewNameSpace/NewNameSpace.js index 5cc3f20418c..4f50e0c07d7 100644 --- a/console-ui/src/components/NewNameSpace/NewNameSpace.js +++ b/console-ui/src/components/NewNameSpace/NewNameSpace.js @@ -101,13 +101,6 @@ class NewNameSpace extends React.Component { const { locale = {} } = this.props; this.field.validate((errors, values) => { if (errors) return; - const flag = this.state.dataSource.every( - val => val.namespaceShowName !== values.namespaceShowName - ); - if (!flag) { - Dialog.alert({ content: locale.norepeat }); - return; - } this.disabled = true; this.setState({ disabled: true, diff --git a/console/src/main/resources/static/index.html b/console/src/main/resources/static/index.html index c813ac3fb5b..f9fbcbb1349 100644 --- a/console/src/main/resources/static/index.html +++ b/console/src/main/resources/static/index.html @@ -35,7 +35,7 @@ - +
@@ -56,6 +56,6 @@ - +