Added navigation bar to tags page.
This commit is contained in:
@@ -12,6 +12,8 @@ export default function navigate(path, query, options = {}) {
|
||||
|
||||
if (options.redirect) {
|
||||
window.location.href = url;
|
||||
} else if (options.replace) {
|
||||
history.replaceState({}, '', url); // eslint-disable-line no-restricted-globals
|
||||
} else {
|
||||
history.pushState({}, '', url); // eslint-disable-line no-restricted-globals
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user