mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00:00
Fix updating URL when no query params
This commit is contained in:
parent
95bad7b943
commit
5502c8c6bb
1 changed files with 1 additions and 1 deletions
|
@ -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': {
|
||||
|
|
Loading…
Reference in a new issue