Fix updating URL when no query params

This commit is contained in:
MattIPv4 2020-06-09 16:54:12 +01:00
parent 95bad7b943
commit 5502c8c6bb

View file

@ -199,7 +199,7 @@ THE SOFTWARE.
watch: {
// When the share link changes, update the site query
shareQuery(query) {
window.history.replaceState({}, '', query);
window.history.replaceState({}, '', query || window.location.pathname);
},
// Disable symlink if modularized structure is disabled
'$props.data.modularizedStructure': {