From ecf679d8e191de6a35152b9d8ec0fd6cb31f3cb6 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 5 Feb 2022 21:14:40 +0100 Subject: [PATCH] chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it --- src/router/index.ts | 4 ++-- src/views/tasks/ShowTasks.vue | 2 +- src/views/tasks/UpcomingTasks.vue | 9 --------- 3 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 src/views/tasks/UpcomingTasks.vue diff --git a/src/router/index.ts b/src/router/index.ts index 6e4ccce2..ddcb7d2c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,7 +13,7 @@ import RegisterComponent from '../views/user/Register.vue' import OpenIdAuth from '../views/user/OpenIdAuth.vue' import DataExportDownload from '../views/user/DataExportDownload.vue' // Tasks -import ShowTasksInRangeComponent from '../views/tasks/ShowTasksInRange.vue' +import UpcomingTasksComponent from '../views/tasks/ShowTasks.vue' import LinkShareAuthComponent from '../views/sharing/LinkSharingAuth.vue' import ListNamespaces from '../views/namespaces/ListNamespaces.vue' import TaskDetailView from '../views/tasks/TaskDetailView.vue' @@ -248,7 +248,7 @@ const router = createRouter({ { path: '/tasks/by/upcoming', name: 'tasks.range', - component: ShowTasksInRangeComponent, + component: UpcomingTasksComponent, }, { path: '/lists/new/:namespaceId/', diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index ee8f9dcd..d0e2ee6c 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -1,6 +1,6 @@