From c71cade0894b4486030b7ccf9200a0f39c8c2178 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 20 Jun 2024 16:31:29 +0530 Subject: [PATCH] fix: added views route in tasks --- frontend/src/router.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/router.js b/frontend/src/router.js index 8d7c394c..dff911ec 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -45,7 +45,8 @@ const routes = [ component: () => import('@/pages/Notes.vue'), }, { - path: '/tasks', + alias: '/tasks', + path: '/tasks/view/:viewType?', name: 'Tasks', component: () => import('@/pages/Tasks.vue'), },