diff --git a/frontend/src/components/Transaction.spec.js b/frontend/src/components/Transaction.spec.js index 6467151f3..d70c1aba8 100644 --- a/frontend/src/components/Transaction.spec.js +++ b/frontend/src/components/Transaction.spec.js @@ -345,7 +345,7 @@ describe('Transaction', () => { }) it('has the description gdt.contribution', () => { - expect(wrapper.findAll('div.row').at(0).text()).toContain('gdt.contribution') + expect(wrapper.findAll('div.row').at(0).text()).toContain('This is a comment') }) it('renders the amount of euros', () => { diff --git a/frontend/src/components/Transaction.vue b/frontend/src/components/Transaction.vue index 09e721401..0551f8a18 100644 --- a/frontend/src/components/Transaction.vue +++ b/frontend/src/components/Transaction.vue @@ -91,7 +91,7 @@ const getLinesByType = computed(() => { icon: 'heart', iconclasses: 'gradido-global-color-accent', iconColor: '4', - description: t('gdt.contribution'), + description: props.comment, // t('gdt.contribution'), descriptiontext: n(props.amount, 'decimal') + ' €', credittext: n(props.gdt, 'decimal') + ' GDT', }