Skip to content

Commit

Permalink
Merge pull request #707 from favicode/fix/edge-modules-tab
Browse files Browse the repository at this point in the history
Edge modules tab fix
  • Loading branch information
harmony7 authored Nov 6, 2024
2 parents cf94ebf + 61b2b6b commit ef9fb91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions view/adminhtml/web/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ define([
let active_version = '';
let next_version = '';
let fastlyFieldset = $('#system_full_page_cache_fastly');
let fastlyEdgeModulesTab = $('#system_full_page_cache_fastly_edge_modules');
let isAlreadyConfigured = true;
let serviceStatus = false;

Expand All @@ -35,6 +36,10 @@ define([
}
});

if (fastlyEdgeModulesTab.is(':visible')) {
modlyInit();
}

$('#system_full_page_cache_fastly_edge_modules-head').one('click', function () {
modlyInit();
});
Expand Down

0 comments on commit ef9fb91

Please sign in to comment.