From 2c72f704d0011bbd539349af276489f73ec1a4d6 Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Tue, 21 Apr 2026 15:32:51 +0200 Subject: [PATCH] remove unnecessary bottom calc functions --- public/js/components/Cis/Mylv/Table.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/public/js/components/Cis/Mylv/Table.js b/public/js/components/Cis/Mylv/Table.js index e16c96cc4..c8b189eca 100644 --- a/public/js/components/Cis/Mylv/Table.js +++ b/public/js/components/Cis/Mylv/Table.js @@ -27,8 +27,7 @@ export default { {title: Vue.computed(() => this.$p.t('lehre/orgform')), field: 'orgform_kurzbz', widthGrow: 1}, {title: Vue.computed(() => this.$p.t('lehre/kurzbz')), field: 'studiengang_kuerzel', widthGrow: 1}, {title: Vue.computed(() => this.$p.t('lehre/semesterstunden')), field: 'semesterstunden', - bottomCalc: this.semesterstundenCalc, bottomCalcFormatter: this.semesterstundenCalcFormatter, bottomCalcParams: this.semesterstundenParamLookup, - widthGrow: 1, visible: true}, + bottomCalc: this.semesterstundenCalc, widthGrow: 1, visible: true}, {title: Vue.computed(() => this.$p.t('global/actions')), headerSort: false, field: 'menu', formatter: this.actionFormatter, widthGrow: 1, tooltip: this.spoofingFunc} ], @@ -50,15 +49,6 @@ export default { }, methods: { - semesterstundenCalcFormatter(cell) { - - return cell.getValue() - }, - semesterstundenParamLookup (values, data) { - const first = data[0] - debugger - return first ? first.anwesenheit + ' %' : '' - }, semesterstundenCalc(values, data) { let sum = 0 values.forEach(val => {