remove duplicate tabulatorEvents in computed

This commit is contained in:
Harald Bamberger
2025-05-28 13:22:27 +02:00
parent c9b555db77
commit cfa391677e
3 changed files with 2 additions and 28 deletions
@@ -299,7 +299,7 @@ export default {
},
template: `
<div class="stv-details-tab_exemptions h-100 pb-3">
<div class="stv-details-tab_exemptions h-100 pb-3">
<h5>{{$p.t('lehre', 'anrechnungen')}}</h5>
<div v-if="showNotizen" class="border p-3 overflow-auto" style="height: 200px;">
@@ -438,5 +438,6 @@ export default {
</template>
</bs-modal>
</div>
`
}
@@ -203,19 +203,6 @@ export default {
]
}
},
computed: {
tabulatorEvents() {
const events = [
{
event: "rowDblClick",
handler: (e, row) => {
this.actionDownloadFile(row.getData().akte_id);
}
}
];
return events;
}
},
methods: {
actionDownloadFile(akte_id){
window.open(
@@ -211,20 +211,6 @@ export default {
]
}
},
computed: {
tabulatorEvents() {
const events = [
{
event: "rowDblClick",
handler: (e, row) => {
this.actionDownloadFile(row.getData().akte_id);
}
}
];
return events;
}
},
methods: {
actionDownloadFile(akte_id){
window.open(