feat(kanban): add debug option to show task position on card
This will hopefully help debugging heisenbugs which only happen in production
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
<template v-else>
|
||||
{{ task.identifier }}
|
||||
</template>
|
||||
<span class="tw-text-red-600 tw-pl-2" v-if="showTaskPosition">
|
||||
{{ task.position }}
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="projectTitle">
|
||||
{{ projectTitle }}
|
||||
@@ -146,6 +149,8 @@ const projectTitle = computed(() => {
|
||||
return project?.title
|
||||
})
|
||||
|
||||
const showTaskPosition = computed(() => window.DEBUG_TASK_POSITION)
|
||||
|
||||
async function toggleTaskDone(task: ITask) {
|
||||
loadingInternal.value = true
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user