Skip to content

Commit

Permalink
Bust CMS settings cache stored in localstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Jun 12, 2024
1 parent ab63623 commit 5704a01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/javascript/fds_cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ CMS.$(window).on('cms-modal-close', function () {
room = null
}
})

// Remove CMS settings from localstorage
// to always bust a potentially stale settings cache
window.localStorage.setItem('cms_cookie', 'null')

0 comments on commit 5704a01

Please sign in to comment.