UX: Menu placement bottom for AI (#378)
This commit is contained in:
parent
a5d240991f
commit
cb325bb883
|
@ -26,6 +26,7 @@ export default class AIHelperOptionsMenu extends Component {
|
||||||
@service modal;
|
@service modal;
|
||||||
@service siteSettings;
|
@service siteSettings;
|
||||||
@service currentUser;
|
@service currentUser;
|
||||||
|
@service menu;
|
||||||
@tracked helperOptions = [];
|
@tracked helperOptions = [];
|
||||||
@tracked menuState = this.MENU_STATES.triggers;
|
@tracked menuState = this.MENU_STATES.triggers;
|
||||||
@tracked loading = false;
|
@tracked loading = false;
|
||||||
|
@ -58,6 +59,7 @@ export default class AIHelperOptionsMenu extends Component {
|
||||||
async showAIHelperOptions() {
|
async showAIHelperOptions() {
|
||||||
this.showMainButtons = false;
|
this.showMainButtons = false;
|
||||||
this.menuState = this.MENU_STATES.options;
|
this.menuState = this.MENU_STATES.options;
|
||||||
|
this.menu.activeMenu.options.placement = "bottom";
|
||||||
}
|
}
|
||||||
|
|
||||||
@bind
|
@bind
|
||||||
|
|
Loading…
Reference in New Issue