From 87c54592d347554c69a6655606ba46210c6054c1 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 12 Aug 2021 15:08:28 +0200 Subject: [PATCH] fix undiefined incons, though I do not know why it happened --- .../AccountOverview/GdtTransactionList.vue | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/frontend/src/views/Pages/AccountOverview/GdtTransactionList.vue b/frontend/src/views/Pages/AccountOverview/GdtTransactionList.vue index ac75247dc..83bd4c6ca 100644 --- a/frontend/src/views/Pages/AccountOverview/GdtTransactionList.vue +++ b/frontend/src/views/Pages/AccountOverview/GdtTransactionList.vue @@ -5,25 +5,15 @@ {{ $t('gdt.no-transactions') }}
@@ -131,9 +121,15 @@ -
{{ $t('gdt.formula') }}:
+
+
{{ $t('gdt.factor') }}
+
{{ $t('gdt.formula') }}:
+
- {{ $n(amount, 'decimal') }} € * {{ factor }} = {{ $n(gdt, 'decimal') }} GDT +
{{ factor }}
+
+ {{ $n(amount, 'decimal') }} € * {{ factor }} = {{ $n(gdt, 'decimal') }} GDT +
@@ -203,13 +199,12 @@ export default { }, getIcon(givenType) { const type = iconsByType[givenType] - if (type) return { icon: type.icon, class: type.classes + ' m-mb-1 font2em', } - this.throwError('no icon to given type') + this.throwError('no icon to given type: ' + givenType) }, throwError(msg) { throw new Error(msg)