Merge "Revert "Add undefined check to getZuulStatus""
diff --git a/src/main/resources/static/zuul-status-view.js b/src/main/resources/static/zuul-status-view.js
index e5df740..7de7c3a 100644
--- a/src/main/resources/static/zuul-status-view.js
+++ b/src/main/resources/static/zuul-status-view.js
@@ -203,6 +203,8 @@
* @return {Promise} Resolves to a fetch Response object.
*/
async _getReponse(change, revision) {
+ if (!change || !revision) return false;
+
const url = this.zuulTenant === null ?
`${this.zuulUrl}${change._number},${revision._number}` :
`${this.zuulUrl}/api/tenant/${this.zuulTenant}/status/change/${change._number},${revision._number}`;