2023-09-01 20:10:58 -04:00
|
|
|
import Component from '@glimmer/component';
|
|
|
|
import AISuggestionDropdown from "../../components/ai-suggestion-dropdown";
|
2023-09-13 17:18:48 -04:00
|
|
|
import showAIHelper from "../../lib/show-ai-helper";
|
2023-09-01 20:10:58 -04:00
|
|
|
|
|
|
|
export default class AITitleSuggestion extends Component {
|
|
|
|
<template>
|
|
|
|
<AISuggestionDropdown @mode="suggest_title" @composer={{@outletArgs.composer}} class="suggest-titles-button" />
|
|
|
|
</template>
|
2023-09-13 17:18:48 -04:00
|
|
|
|
|
|
|
static shouldRender(outletArgs, helper) {
|
|
|
|
return showAIHelper(outletArgs, helper);
|
|
|
|
}
|
2023-09-01 20:10:58 -04:00
|
|
|
}
|