fix: 사령부가 덜 찬 상황에서 표기되지 않는 버그 수정

This commit is contained in:
2021-12-25 22:30:23 +09:00
parent 5142c94f84
commit 6f614eddd3
3 changed files with 62 additions and 47 deletions
+5 -5
View File
@@ -9,19 +9,19 @@
<div
class="bg1 nameHeader"
:style="{
color: getNpcColor(officer.npcType ?? 0),
color: getNpcColor(officer?.npcType ?? 0),
textDecoration: isMe ? 'underline' : undefined,
}"
>
{{ officer.name ?? "-" }}
{{ officer?(officer?.name ?? "-"):'' }}
</div>
<div class="bg1 center row gx-0">
<div class="col">{{ officer.officerLevelText }}</div>
<div class="col">{{ (officer.turnTime ?? " - ").slice(-5) }}</div>
<div class="col">{{ officer?.officerLevelText }}</div>
<div class="col">{{ officer?((officer?.turnTime ?? " - ").slice(-5)):'' }}</div>
</div>
<div
class="tableCell align-self-center"
v-for="(turn, idx) in officer.turn"
v-for="(turn, idx) in officer?.turn??[]"
:key="idx"
:style="{
fontSize: