fix: Reset conversation sidebar when copilot is open (#11657)

Both the Copilot and the conversation sidebar were open at the same
time, which shouldn’t be possible.
This commit is contained in:
Pranav
2025-06-03 13:39:18 -05:00
committed by GitHub
parent ff0ad53f49
commit b81f1bc971

View File

@@ -42,6 +42,7 @@ const showCopilotLauncher = computed(() => {
const toggleSidebar = () => { const toggleSidebar = () => {
updateUISettings({ updateUISettings({
is_copilot_panel_open: !uiSettings.value.is_copilot_panel_open, is_copilot_panel_open: !uiSettings.value.is_copilot_panel_open,
is_contact_sidebar_open: false,
}); });
}; };
</script> </script>