mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
remove duplicate tabulatorEvents in computed
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user