[Bugfix] Display subtask.title if is defined, instead of subtask.mastertask.title

This commit is contained in:
Matej Glasnák committed 2023-06-02 13:57:52 +02:00
1 parent 86f27b73bf
commit ac61d77122
3 files changed
+3 -3

No files matched your search

@@ -69,7 +69,7 @@
<div class="event-content" :class="{'is-blocker': event.isBlocker}">
<template v-if="event.type == 'subtask'">
<small v-if="event.subtask.project_code" class="project-code">{{ event.subtask.project_code }}</small>
<h3>{{ event.subtask.master_task?.name || event.subtask.master_task }}</h3>
<h3>{{ event.subtask.title ?? event.subtask.master_task?.name ?? event.subtask.master_task }}</h3>
</template>
<template v-else>