Add ability to edit and delete lists

This commit is contained in:
Sol Fisher Romanoff 2022-06-16 05:41:43 +03:00
parent bacb6c8fb3
commit cf33b3295f
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62
7 changed files with 291 additions and 10 deletions

View file

@ -22,6 +22,7 @@ import About from 'components/about/about.vue'
import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue'
import Lists from 'components/lists/lists.vue'
import ListTimeline from 'components/list_timeline/list_timeline.vue'
import ListEdit from 'components/list_edit/list_edit.vue'
export default (store) => {
const validateAuthenticatedRoute = (to, from, next) => {
@ -73,7 +74,8 @@ export default (store) => {
{ name: 'about', path: '/about', component: About },
{ name: 'user-profile', path: '/:_(users)?/:name', component: UserProfile },
{ name: 'lists', path: '/lists', component: Lists },
{ name: 'list-timeline', path: '/lists/:id', component: ListTimeline }
{ name: 'list-timeline', path: '/lists/:id', component: ListTimeline },
{ name: 'list-edit', path: '/lists/:id/edit', component: ListEdit }
]
if (store.state.instance.pleromaChatMessagesAvailable) {