xy 7 gadi atpakaļ
vecāks
revīzija
e716bc11c8

+ 1 - 1
src/app/common/deploy/tencent/deployCard/DeployCardRender.js

@@ -146,7 +146,7 @@ class DeployCardRender extends Component {
             createdAt: new Date().getTime(),
             updatedAt: ''
         };
-        if (deploy === '') {
+        if (deploy === '' || deploy === null) {
             request(graphqlUrl, ADD_DEPLOY, varObj).then(
                 data => {
                     if (data.create_deploy !== null) {