TC-98 | Add ProposalComments component with tab filters
This commit is contained in:
parent
3cef4c4d5b
commit
6e01a677ae
14 changed files with 876 additions and 336 deletions
9
app/router.scrollBehavior.js
Normal file
9
app/router.scrollBehavior.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const routerScrollBehavior = (to, from, savedPosition) => {
|
||||
if (to.name === 'governance-id') {
|
||||
return { x: 0, y: 0 }
|
||||
}
|
||||
|
||||
return savedPosition || { x: 0, y: 0 }
|
||||
}
|
||||
|
||||
export default routerScrollBehavior
|
Loading…
Add table
Add a link
Reference in a new issue