1
0

Don't open task detail in popup for list and table view

This commit is contained in:
kolaente
2020-05-09 19:19:06 +02:00
parent 85a1f9f2a1
commit e74c72f486
3 changed files with 9 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<template>
<span>
<fancycheckbox v-model="task.done" @change="markAsDone" :disabled="isArchived"/>
<router-link :to="{ name: 'task.list.detail', params: { id: task.id } }" class="tasktext" :class="{ 'done': task.done}">
<router-link :to="{ name: 'task.detail', params: { id: task.id } }" class="tasktext" :class="{ 'done': task.done}">
<!-- Show any parent tasks to make it clear this task is a sub task of something -->
<span class="parent-tasks" v-if="typeof task.relatedTasks.parenttask !== 'undefined'">
<template v-for="(pt, i) in task.relatedTasks.parenttask">