chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it

This commit is contained in:
kolaente 2022-02-05 21:14:40 +01:00
parent 43e83350bd
commit ecf679d8e1
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
3 changed files with 3 additions and 12 deletions

View file

@ -13,7 +13,7 @@ import RegisterComponent from '../views/user/Register.vue'
import OpenIdAuth from '../views/user/OpenIdAuth.vue' import OpenIdAuth from '../views/user/OpenIdAuth.vue'
import DataExportDownload from '../views/user/DataExportDownload.vue' import DataExportDownload from '../views/user/DataExportDownload.vue'
// Tasks // Tasks
import ShowTasksInRangeComponent from '../views/tasks/ShowTasksInRange.vue' import UpcomingTasksComponent from '../views/tasks/ShowTasks.vue'
import LinkShareAuthComponent from '../views/sharing/LinkSharingAuth.vue' import LinkShareAuthComponent from '../views/sharing/LinkSharingAuth.vue'
import ListNamespaces from '../views/namespaces/ListNamespaces.vue' import ListNamespaces from '../views/namespaces/ListNamespaces.vue'
import TaskDetailView from '../views/tasks/TaskDetailView.vue' import TaskDetailView from '../views/tasks/TaskDetailView.vue'
@ -248,7 +248,7 @@ const router = createRouter({
{ {
path: '/tasks/by/upcoming', path: '/tasks/by/upcoming',
name: 'tasks.range', name: 'tasks.range',
component: ShowTasksInRangeComponent, component: UpcomingTasksComponent,
}, },
{ {
path: '/lists/new/:namespaceId/', path: '/lists/new/:namespaceId/',

View file

@ -1,6 +1,6 @@
<template> <template>
<div class="is-max-width-desktop has-text-left "> <div class="is-max-width-desktop has-text-left ">
<h3 class="mb-2"> <h3 class="mb-2 title">
{{ pageTitle }} {{ pageTitle }}
</h3> </h3>
<p v-if="!showAll" class="show-tasks-options"> <p v-if="!showAll" class="show-tasks-options">

View file

@ -1,9 +0,0 @@
<template>
<div class="content has-text-centered">
<ShowTasks/>
</div>
</template>
<script lang="ts" setup>
import ShowTasks from './ShowTasks.vue'
</script>