feat: hide priority label for done tasks (#825)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/825
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
This commit is contained in:
konrad 2021-10-05 05:43:10 +00:00
parent 49fcce043d
commit 7e1a7f3f19
5 changed files with 9 additions and 5 deletions

View file

@ -103,7 +103,7 @@
>
{{ t.title }}
</span>
<priority-label :priority="t.priority"/>
<priority-label :priority="t.priority" :done="t.done"/>
<!-- using the key here forces vue to use the updated version model and not the response returned by the api -->
<a @click="editTask(theTasks[k])" class="edit-toggle">
<icon icon="pen"/>