|
|
@@ -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) {
|