Commit bdd4abad authored by Andrew Fontaine's avatar Andrew Fontaine Committed by David O'Regan

Fix error on environment rollback

While the rollback was still completed successfully, there was
previously an extra alert showing when rolling an environment back to a
previous deployment via the deployments page. This ensures that the
error is not seen, by stopping an error being thrown for missing the
retry path after the rollback occurs.

Changelog: fixed
parent e1d2685e
...@@ -15,7 +15,6 @@ export default { ...@@ -15,7 +15,6 @@ export default {
data() { data() {
return { return {
environment: null, environment: null,
retryPath: '',
visible: false, visible: false,
}; };
}, },
...@@ -35,9 +34,9 @@ export default { ...@@ -35,9 +34,9 @@ export default {
name: environmentName, name: environmentName,
commitShortSha, commitShortSha,
commitUrl, commitUrl,
retryUrl: retryPath,
isLastDeployment: parseBoolean(isLastDeployment), isLastDeployment: parseBoolean(isLastDeployment),
}; };
this.retryPath = retryPath;
this.visible = true; this.visible = true;
}); });
}); });
...@@ -51,7 +50,5 @@ export default { ...@@ -51,7 +50,5 @@ export default {
v-model="visible" v-model="visible"
:environment="environment" :environment="environment"
:has-multiple-commits="false" :has-multiple-commits="false"
:retry-url="retryPath"
/> />
<div v-else></div>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment