Skip to content

Commit

Permalink
Merge pull request #661 from favicode/fix/fields-configuration-when-m…
Browse files Browse the repository at this point in the history
…enu-is-open

Run init method if Fastly configuration tab is already open
  • Loading branch information
vvuksan committed Aug 18, 2023
2 parents 2d9b9e9 + a24b643 commit 8a62b86
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 8a62b86

Please sign in to comment.