FIX: Pages with small composers breaking (#155)
This commit is contained in:
parent
1289ae1c57
commit
45b7b57726
|
@ -25,7 +25,7 @@ export default class AiHelperContextMenu extends Component {
|
||||||
|
|
||||||
const canShowInPM = helper.siteSettings.ai_helper_allowed_in_pm;
|
const canShowInPM = helper.siteSettings.ai_helper_allowed_in_pm;
|
||||||
|
|
||||||
if (outletArgs.composer.privateMessage) {
|
if (outletArgs?.composer?.privateMessage) {
|
||||||
return helperEnabled && canUseAssistant && canShowInPM;
|
return helperEnabled && canUseAssistant && canShowInPM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue