fix(game-ui): 사령부 전체 수뇌 턴 요약을 표시
This commit is contained in:
@@ -70,7 +70,7 @@ const handleClick = () => {
|
||||
<div v-for="row in props.rows" :key="row.index" class="chief-row" :class="{ rest: row.isRest }">
|
||||
<span class="row-index">#{{ row.index + 1 }}</span>
|
||||
<span class="row-time">{{ row.time }}</span>
|
||||
<span class="row-action">{{ row.action }}</span>
|
||||
<span class="row-action" :title="row.action">{{ row.action }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
@@ -8,6 +8,7 @@ import ChiefTurnCard from '../components/chief/ChiefTurnCard.vue';
|
||||
import ChiefCommandEditor from '../components/chief/ChiefCommandEditor.vue';
|
||||
import { trpc } from '../utils/trpc';
|
||||
import { formatOfficerLevelText } from '../utils/nationFormat';
|
||||
import { formatReservedCommandBrief } from '../components/command/reservedCommandBrief';
|
||||
import type { CommandMapData, CommandMapLayout, CommandPatternEntry, CommandTable } from '../components/command/types';
|
||||
|
||||
type ChiefTurn = {
|
||||
@@ -212,7 +213,10 @@ const buildTurnRows = (chief: ChiefEntry): TurnRow[] => {
|
||||
? `${String(turnDate.getUTCHours()).padStart(2, '0')}:${String(turnDate.getUTCMinutes()).padStart(2, '0')}`
|
||||
: `${String(turnDate.getUTCMinutes()).padStart(2, '0')}:${String(turnDate.getUTCSeconds()).padStart(2, '0')}`
|
||||
: '--:--';
|
||||
const actionLabel = labelMap.get(turn.action) ?? turn.action;
|
||||
const actionLabel =
|
||||
formatReservedCommandBrief('nation', turn.action, turn.args, commandTable.value) ??
|
||||
labelMap.get(turn.action) ??
|
||||
turn.action;
|
||||
return {
|
||||
index: turn.index,
|
||||
time: timeLabel,
|
||||
|
||||
Reference in New Issue
Block a user