Don't show the task id in list view

This commit is contained in:
kolaente 2020-06-25 21:01:05 +02:00
parent 88a52cb0b5
commit 46179bf51e
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 9 additions and 2 deletions

View file

@ -58,7 +58,7 @@
#{{ task.index }} #{{ task.index }}
</template> </template>
<template v-else> <template v-else>
#{{ task.index }} {{ task.identifier }}
</template> </template>
</span> </span>
<span <span

View file

@ -98,7 +98,14 @@
<tbody> <tbody>
<tr v-for="t in tasks" :key="t.id"> <tr v-for="t in tasks" :key="t.id">
<td v-if="activeColumns.id"> <td v-if="activeColumns.id">
<router-link :to="{name: 'task.detail', params: { id: t.id }}">{{ t.id }}</router-link> <router-link :to="{name: 'task.detail', params: { id: t.id }}">
<template v-if="t.identifier === ''">
#{{ t.index }}
</template>
<template v-else>
{{ t.identifier }}
</template>
</router-link>
</td> </td>
<td v-if="activeColumns.done"> <td v-if="activeColumns.done">
<div class="is-done" v-if="t.done">Done</div> <div class="is-done" v-if="t.done">Done</div>