fix: CollapseHistory: format profit display + fix package.json name for stable lock file (#245)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-02-24 23:43:15 +00:00
parent 4b10dc91c3
commit ca68c339ed
3 changed files with 7 additions and 3 deletions

View file

@ -24,7 +24,8 @@
><span class="caption"> $KRK</span>
</div>
<div>
<span class="subheader2">Profit</span><span class="number-small">{{ profit }}</span
<span class="subheader2">Profit</span
><span class="number-small">{{ typeof profit === 'string' ? profit : compactNumber(profit) }}</span
><span v-if="profit !== '—'" class="caption"> $KRK</span>
</div>
<template v-if="isSnatched">