Skip to content

Commit

Permalink
views(AutoReport): Don't truncate text
Browse files Browse the repository at this point in the history
  • Loading branch information
jareddantis committed May 12, 2023
1 parent c357889 commit 7a0a97b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/views/AutoReportView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
@update:value="handleCheckboxChange"
:disabled="this.store.calliopeText === ''"
>
<template #default>Cookie banner text</template>
<template #description>{{ truncatedText }}</template>
<template #default>Text content</template>
<template #description>{{ store.calliopeText }}</template>
</Checkbox>
<Checkbox
checkbox-key="attachment-image"
Expand Down Expand Up @@ -140,11 +140,6 @@ export default defineComponent({
},
reportType() {
return this.vote ? 'Correct' : 'Incorrect'
},
truncatedText() {
return this.store.calliopeText.length > 100
? this.store.calliopeText.substring(0, 100) + '...'
: this.store.calliopeText
}
},
methods: {
Expand Down

0 comments on commit 7a0a97b

Please sign in to comment.