mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 17:30:20 +00:00
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>
|
||||
{{#if @outletArgs.topic.summarizable}}
|
||||
<section class="topic-map__additional-contents toggle-summary">
|
||||
<DButton
|
||||
@label="summary.buttons.generate"
|
||||
@icon="discourse-sparkles"
|
||||
@action={{this.openAiSummaryModal}}
|
||||
class="btn-default ai-summarization-button"
|
||||
/>
|
||||
</section>
|
||||
{{/if}}
|
||||
</template>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user