Don't show the task id in list view
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-06-25 21:01:05 +02:00
parent 88a52cb0b5
commit 46179bf51e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 9 additions and 2 deletions

View File

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

View File

@ -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>