Skip to content

Commit 2f77c18

Browse files
committed
♻️ [refactor] : 중첩되는 v-if문 통일
1 parent dca43aa commit 2f77c18

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/components/task-detail/TaskDetailHistory.vue

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,7 @@
2929
"
3030
class="flex w-full gap-1 justify-center text-body text-sm">
3131
<p>{{ HistoryMessageBefore[item.taskHistoryType] }}</p>
32-
<p
33-
v-if="item.taskHistoryType === 'STATUS_SWITCHED'"
34-
class="text-primary1">
35-
{{ item.details.taskDetails?.value }}
36-
</p>
37-
<p
38-
v-else-if="
39-
item.taskHistoryType === 'PROCESSOR_CHANGED' ||
40-
item.taskHistoryType === 'PROCESSOR_ASSIGNED'
41-
"
42-
class="text-primary1">
32+
<p class="text-primary1">
4333
{{ item.details.taskDetails?.value }}
4434
</p>
4535
<p>{{ HistoryMessageAfter[item.taskHistoryType] }}</p>

0 commit comments

Comments
 (0)