Skip to content

Commit

Permalink
Added check if fastly configuration tab is already open - if it is, c…
Browse files Browse the repository at this point in the history
…all init method
  • Loading branch information
ivanviduka committed Aug 3, 2023
1 parent 214909c commit a24b643
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion view/adminhtml/web/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ define([
let isAlreadyConfigured = true;
let serviceStatus = false;

if (fastlyFieldset.is(':visible')) {
init();
}

/**
* Fastly Configuration head on click event
*/
Expand Down Expand Up @@ -205,4 +209,4 @@ define([
}
});
}
});
});

0 comments on commit a24b643

Please sign in to comment.