🐛(frontend) prevent side panel and chat from opening simultaneously

Fixed issue where side panel could open while chat was already open.
Resolved recent bug introduced in a previous commit.
This commit is contained in:
lebaudantoine
2024-09-25 19:49:01 +02:00
committed by aleb_the_flash
parent bece79f47b
commit be35ee0258

View File

@@ -19,7 +19,7 @@ export const useWidgetInteraction = () => {
}
const toggleChat = () => {
if (isParticipantsOpen) {
if (isParticipantsOpen || isEffectsOpen) {
layoutStore.sidePanel = null
}
if (dispatch) {