Commit 7fda8195 authored by Emily Ring's avatar Emily Ring

Updated poll request for mr_widget_terraform vue

parent a3c82166
......@@ -68,7 +68,7 @@ export default {
successCallback: ({ data }) => {
this.plans = data;
if (Object.keys(this.plan).length > 0) {
if (Object.keys(this.plan).length) {
this.loading = false;
poll.stop();
}
......@@ -80,9 +80,7 @@ export default {
},
});
if (this.loading) {
poll.makeRequest();
}
poll.makeRequest();
},
},
};
......
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