Skip to content

Commit

Permalink
web: Collect interaction event for ai-report-2
Browse files Browse the repository at this point in the history
  • Loading branch information
schneefux committed Mar 21, 2024
1 parent d0833c6 commit c43846f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/components/ai-report-2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
:class="['-mt-4', {
'h-24 overflow-hidden fade-out': !expanded,
}]"
@click="expanded = true"
@click="handleClick()"
></article>
<b-button v-if="!expanded" @click="expanded = true" primary md>
<b-button v-if="!expanded" @click="handleClick()" primary md>
{{ $t('action.read') }}
</b-button>
</div>
Expand Down Expand Up @@ -62,7 +62,7 @@ export default defineComponent({
const handleClick = () => {
emit('interact')
expanded.value = !expanded.value
expanded.value = true
}
return {
Expand Down

0 comments on commit c43846f

Please sign in to comment.