FIX: Pages with small composers breaking (#155)

This commit is contained in:
Keegan George 2023-08-23 14:20:14 -07:00 committed by GitHub
parent 1289ae1c57
commit 45b7b57726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default class AiHelperContextMenu extends Component {
const canShowInPM = helper.siteSettings.ai_helper_allowed_in_pm;
if (outletArgs.composer.privateMessage) {
if (outletArgs?.composer?.privateMessage) {
return helperEnabled && canUseAssistant && canShowInPM;
}