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 }}
|
#{{ task.index }}
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
#{{ task.index }}
|
{{ task.identifier }}
|
||||||
</template>
|
</template>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue