Fix Navigation active on results
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
parent
b4b5ea060b
commit
442d5dc5ad
|
@ -23,10 +23,9 @@
|
|||
<template>
|
||||
<AppNavigationItem
|
||||
ref="navigationItem"
|
||||
:exact="true"
|
||||
:icon="icon"
|
||||
:title="formTitle"
|
||||
:to="{ name: 'edit', params: { hash: form.hash } }"
|
||||
:to="{ name: 'formRoot', params: { hash: form.hash } }"
|
||||
@click="mobileCloseNavigation">
|
||||
<template v-if="!loading" #actions>
|
||||
<ActionLink
|
||||
|
|
|
@ -45,6 +45,12 @@ export default new Router({
|
|||
path: '/',
|
||||
name: 'root',
|
||||
},
|
||||
{
|
||||
path: '/:hash',
|
||||
redirect: { name: 'edit' },
|
||||
name: 'formRoot',
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: '/:hash/edit',
|
||||
components: {
|
||||
|
|
Loading…
Reference in a new issue