Fix group modal search persistence when closing the modal (#8525)

GitOrigin-RevId: 3b3dcdaa09439715e66cfbf522f397c6ae2c930c
This commit is contained in:
M Fahru 2022-06-22 08:20:33 -04:00 committed by Copybot
parent 51c870c285
commit 9e91685445

View file

@ -60,7 +60,8 @@ modalEl
history.replaceState(null, document.title, path + '#groups')
})
.on('hidden.bs.modal', function () {
history.replaceState(null, document.title, window.location.pathname)
const path = `${window.location.pathname}${window.location.search}`
history.replaceState(null, document.title, path)
})
function showGroupPlanModal() {