Don't show the task id in list view
This commit is contained in:
parent
88a52cb0b5
commit
46179bf51e
2 changed files with 9 additions and 2 deletions
|
@ -58,7 +58,7 @@
|
|||
#{{ task.index }}
|
||||
</template>
|
||||
<template v-else>
|
||||
#{{ task.index }}
|
||||
{{ task.identifier }}
|
||||
</template>
|
||||
</span>
|
||||
<span
|
||||
|
|
|
@ -98,7 +98,14 @@
|
|||
<tbody>
|
||||
<tr v-for="t in tasks" :key="t.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 v-if="activeColumns.done">
|
||||
<div class="is-done" v-if="t.done">Done</div>
|
||||
|
|
Loading…
Reference in a new issue