the size of AuthenticatedLayout is real
This commit is contained in:
parent
441903800f
commit
c12d47b749
2 changed files with 3 additions and 1 deletions
|
@ -8,12 +8,13 @@
|
|||
|
||||
const searchChanged = () => {
|
||||
if ($page.url !== '/search') {
|
||||
globalState.lastPage = $page.url
|
||||
router.visit('/search', {
|
||||
preserveState: true,
|
||||
})
|
||||
}
|
||||
if ($page.url === '/search' && globalState.searchQuery === '') {
|
||||
router.visit('/', {
|
||||
router.visit(globalState.lastPage ?? '/', {
|
||||
preserveState: true,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue