🐛(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:
committed by
aleb_the_flash
parent
bece79f47b
commit
be35ee0258
@@ -19,7 +19,7 @@ export const useWidgetInteraction = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const toggleChat = () => {
|
const toggleChat = () => {
|
||||||
if (isParticipantsOpen) {
|
if (isParticipantsOpen || isEffectsOpen) {
|
||||||
layoutStore.sidePanel = null
|
layoutStore.sidePanel = null
|
||||||
}
|
}
|
||||||
if (dispatch) {
|
if (dispatch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user