1
0

feat(list): add info dialoge to show list description (#2368)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2368
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
konrad
2022-09-15 12:36:43 +00:00
parent b24d5f2dce
commit 84260841be
9 changed files with 130 additions and 44 deletions

View File

@ -35,6 +35,7 @@ import ListList from '../views/list/ListList.vue'
import ListGantt from '../views/list/ListGantt.vue'
import ListTable from '../views/list/ListTable.vue'
import ListKanban from '../views/list/ListKanban.vue'
const ListInfo = () => import('../views/list/ListInfo.vue')
// List Settings
import ListSettingEdit from '../views/list/settings/edit.vue'
@ -336,6 +337,15 @@ const router = createRouter({
showAsModal: true,
},
},
{
path: '/lists/:listId/info',
name: 'list.info',
component: ListInfo,
meta: {
showAsModal: true,
},
props: route => ({ listId: Number(route.params.listId as string) }),
},
{
path: '/lists/:listId',
name: 'list.index',