BigW Consortium Gitlab

Commit 0f465b24 by Filipa Lacerda

Guarantees first request is made even when the tab is not visible

parent 41bedd9c
......@@ -95,6 +95,8 @@ export default {
if (!Visibility.hidden()) {
this.isLoading = true;
poll.makeRequest();
} else {
this.fetchEnvironments();
}
Visibility.change(() => {
......
......@@ -101,6 +101,8 @@ export default {
if (!Visibility.hidden()) {
this.isLoading = true;
poll.makeRequest();
} else {
this.fetchEnvironments();
}
Visibility.change(() => {
......
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