fix: avoid pilot sidebar trim crash on input prop

This commit is contained in:
Ruslan Bakiev
2026-02-23 12:03:51 +07:00
parent 43960d0374
commit c94c229a1a
2 changed files with 7 additions and 4 deletions

View File

@@ -4783,7 +4783,7 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
:chat-thread-picker-open="chatThreadPickerOpen"
:selected-chat-id="selectedChatId"
:chat-archiving-id="chatArchivingId"
:pilot-input-ref="pilotInput"
:pilot-input="pilotInput"
:pilot-recording="pilotRecording"
:context-scope-chips="contextScopeChips"
:context-picker-enabled="contextPickerEnabled"
@@ -4805,6 +4805,7 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
:format-chat-thread-meta="formatChatThreadMeta"
:archive-chat-conversation="archiveChatConversation"
:handle-pilot-composer-enter="handlePilotComposerEnter"
:on-pilot-input="(value) => { pilotInput = value; }"
:set-pilot-wave-container-ref="setPilotWaveContainerRef"
:toggle-context-picker="toggleContextPicker"
:remove-context-scope="removeContextScope"