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
parent
9fcc2c6743
commit
4df7ccbb4f
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue