fix(@desktop/chat): Hide quick actions panel in non-joined chats
This commit is contained in:
parent
dd1caf7a48
commit
e8e2c022ca
|
@ -126,7 +126,8 @@ Loader {
|
||||||
isRightClickOnImage = false,
|
isRightClickOnImage = false,
|
||||||
imageSource = "") {
|
imageSource = "") {
|
||||||
|
|
||||||
if (placeholderMessage || activityCenterMessage) {
|
if (placeholderMessage || activityCenterMessage ||
|
||||||
|
!(root.rootStore.mainModuleInst.activeSection.joined || isProfileClick)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -475,7 +476,9 @@ Loader {
|
||||||
root.placeholderMessage ||
|
root.placeholderMessage ||
|
||||||
root.activityCenterMessage ||
|
root.activityCenterMessage ||
|
||||||
root.isInPinnedPopup ||
|
root.isInPinnedPopup ||
|
||||||
root.editModeOn
|
root.editModeOn ||
|
||||||
|
!root.rootStore.mainModuleInst.activeSection.joined
|
||||||
|
|
||||||
hideMessage: d.isSingleImage && d.unfurledLinksCount === 1
|
hideMessage: d.isSingleImage && d.unfurledLinksCount === 1
|
||||||
|
|
||||||
overrideBackground: root.activityCenterMessage || root.placeholderMessage
|
overrideBackground: root.activityCenterMessage || root.placeholderMessage
|
||||||
|
|
Loading…
Reference in New Issue