Skip to content

Commit dedc77c

Browse files
creativesuspectsAndyButland
authored andcommitted
Backoffice Caching: Added cache buster for block list stylesheets (closes #20683) (#20686)
Fixed, added cache buster to Block List Editor stylesheets
1 parent 802fa70 commit dedc77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbblocklistblock.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
var shadowRoot = $element[0].attachShadow({ mode: 'open' });
5858
shadowRoot.innerHTML = `
5959
<style>
60-
@import "${model.stylesheet}"
60+
@import "${model.stylesheet}?umb__rnd=${Umbraco.Sys.ServerVariables.application.cacheBuster}"
6161
</style>
6262
<div class="umb-block-list__block--view" ng-include="'${model.view}'"></div>
6363
`;

0 commit comments

Comments
 (0)