fix(chat): drop stale minimap-target class binding

The question-outline flash (minimapTargetId, its timer and CSS) was
removed in #3427, but #3469 brought back the :class binding on user
message rows. Vue then warned that minimapTargetId was accessed during
render on every render. data-message-id stays: the minimap uses it to
find jump targets.
main
wizardchen 2026-09-26 18:45:28 +08:00 committed by lyingbug
parent 9fcc2c6743
commit 4df7ccbb4f
1 changed files with 1 additions and 2 deletions

View File

@ -108,8 +108,7 @@
:value="session.created_at" />
<div v-if="session.role == 'user'" class="message-row"
:data-message-id="session.id || undefined"
:class="{ 'is-minimap-target': session.id && session.id === minimapTargetId }">
:data-message-id="session.id || undefined">
<usermsg :content="session.content" :mentioned_items="session.mentioned_items"
:images="session.images" :attachments="session.attachments" :embeddedMode="embeddedMode"
:session-id="session_id"