Fix updating URL when no query params

pull/159/head
MattIPv4 2020-06-09 16:54:12 +01:00
parent 95bad7b943
commit 5502c8c6bb
1 changed files with 1 additions and 1 deletions

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': {