DEV: add summary button wrapper removed from core (#1136)
This commit is contained in:
parent
12f00a62d2
commit
3a755ca883
|
@ -19,12 +19,14 @@ export default class AiSummaryTrigger extends Component {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
{{#if @outletArgs.topic.summarizable}}
|
{{#if @outletArgs.topic.summarizable}}
|
||||||
|
<section class="topic-map__additional-contents toggle-summary">
|
||||||
<DButton
|
<DButton
|
||||||
@label="summary.buttons.generate"
|
@label="summary.buttons.generate"
|
||||||
@icon="discourse-sparkles"
|
@icon="discourse-sparkles"
|
||||||
@action={{this.openAiSummaryModal}}
|
@action={{this.openAiSummaryModal}}
|
||||||
class="btn-default ai-summarization-button"
|
class="btn-default ai-summarization-button"
|
||||||
/>
|
/>
|
||||||
|
</section>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</template>
|
</template>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue