UX: Menu placement bottom for AI (#378)

This commit is contained in:
Keegan George 2023-12-22 11:53:41 -08:00 committed by GitHub
parent a5d240991f
commit cb325bb883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export default class AIHelperOptionsMenu extends Component {
@service modal;
@service siteSettings;
@service currentUser;
@service menu;
@tracked helperOptions = [];
@tracked menuState = this.MENU_STATES.triggers;
@tracked loading = false;
@ -58,6 +59,7 @@ export default class AIHelperOptionsMenu extends Component {
async showAIHelperOptions() {
this.showMainButtons = false;
this.menuState = this.MENU_STATES.options;
this.menu.activeMenu.options.placement = "bottom";
}
@bind