stash
This commit is contained in:
parent
accbaf3603
commit
95ddb484eb
3 changed files with 275 additions and 17 deletions
|
|
@ -78,7 +78,10 @@ const routes = [{path: '/', component: Dashboard, meta: {requiresAuth: true}}, {
|
|||
path: '/print',
|
||||
component: Print,
|
||||
meta: {requiresAuth: true},
|
||||
props: route => ({prefill: route.query.text})
|
||||
props: route => {
|
||||
const {kind, ...components} = route.query;
|
||||
return {prefill: kind ? {kind, components} : null};
|
||||
}
|
||||
}, {
|
||||
path: '/search/:query',
|
||||
component: Search,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue