mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
fix: type check fix (#13382)
This commit is contained in:
@@ -5153,11 +5153,10 @@ export default defineComponent({
|
||||
isLoading.value = false;
|
||||
activeToolCall.value = null;
|
||||
stopAnalyzingRotation();
|
||||
finalizeTextBlock();
|
||||
if (typewriterAnimationId.value) {
|
||||
cancelAnimationFrame(typewriterAnimationId.value);
|
||||
typewriterAnimationId.value = null;
|
||||
}
|
||||
// The owning instance's processStream already wrote the final text
|
||||
// into the message blocks, so this instance only clears its own
|
||||
// typewriter UI.
|
||||
resetTypewriterState();
|
||||
// Reflect the completed turn into the sync handshake + history so a
|
||||
// later mount reads the finished chat, not a mid-stream snapshot.
|
||||
store.dispatch("setCurrentChatTimestamp", currentChatId.value);
|
||||
|
||||
@@ -26,7 +26,9 @@ const props = withDefaults(defineProps<ToggleGroupItemProps>(), {
|
||||
|
||||
const slots = defineSlots<ToggleGroupItemSlots>();
|
||||
|
||||
const context = inject<ComputedRef<ToggleGroupContext>>(
|
||||
// An item may be used standalone (no OToggleGroup parent), so the context is
|
||||
// optional and every read below is guarded.
|
||||
const context = inject<ComputedRef<ToggleGroupContext> | undefined>(
|
||||
TOGGLE_GROUP_CONTEXT_KEY,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user