Skip to content

Commit dca43aa

Browse files
committed
♻️ [refactor] : 히스토리 v-if 에서 벗어난 빈 div 제거
1 parent 2d9ba78 commit dca43aa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/task-detail/TaskDetailHistory.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@
2121
class="text-xs font-semibold text-body">
2222
{{ formatTimeShort(item.time) }}
2323
</div>
24-
<div class="flex w-full gap-1 justify-center text-body text-sm">
24+
<div
25+
v-if="
26+
item.taskHistoryType === 'STATUS_SWITCHED' ||
27+
item.taskHistoryType === 'PROCESSOR_CHANGED' ||
28+
item.taskHistoryType === 'PROCESSOR_ASSIGNED'
29+
"
30+
class="flex w-full gap-1 justify-center text-body text-sm">
2531
<p>{{ HistoryMessageBefore[item.taskHistoryType] }}</p>
2632
<p
2733
v-if="item.taskHistoryType === 'STATUS_SWITCHED'"

0 commit comments

Comments
 (0)