Skip to content

Commit ee165bc

Browse files
authored
Add missing tasks button and fix tasks routes (#1794)
1 parent 0cae146 commit ee165bc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

frontend/src/modules/dashboard/components/dashboard-task.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h4 class="text-base leading-6 font-semibold">
66
My open tasks ({{ tasks.length }})
77
</h4>
8-
<div v-if="tasks.length > 0 || suggestedTasks.length > 0" class="flex items-center">
8+
<div class="flex items-center">
99
<el-tooltip
1010
effect="dark"
1111
content="All tasks"

frontend/src/modules/task/task-routes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ export default [
1111
children: [
1212
{
1313
name: 'task',
14-
path: '/task',
14+
path: '/tasks',
1515
component: TaskPage,
1616
exact: true,
1717
},
18+
{
19+
path: '/task',
20+
redirect: () => '/tasks',
21+
},
1822
],
1923
},
2024
];

0 commit comments

Comments
 (0)