13 lines
491 B
Plaintext
13 lines
491 B
Plaintext
import Component from '@glimmer/component';
|
|
import AISuggestionDropdown from "../../components/ai-suggestion-dropdown";
|
|
import { showComposerAIHelper } from "../../lib/show-ai-helper";
|
|
|
|
export default class AITitleSuggestion extends Component {
|
|
<template>
|
|
<AISuggestionDropdown @mode="suggest_title" @composer={{@outletArgs.composer}} class="suggest-titles-button" />
|
|
</template>
|
|
|
|
static shouldRender(outletArgs, helper) {
|
|
return showComposerAIHelper(outletArgs, helper);
|
|
}
|
|
} |