mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
load transaction link on click
This commit is contained in:
parent
897c39c85c
commit
ff652fa72e
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="transaction-slot-link gradido-shadow-inset">
|
||||
<div>
|
||||
<div @click="visible = !visible">
|
||||
<div @click="showTransactionLinks()">
|
||||
<!-- Collaps Icon -->
|
||||
<collapse-icon class="text-right" :visible="visible" />
|
||||
<div>
|
||||
@ -79,6 +79,14 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
showTransactionLinks() {
|
||||
if (this.visible) {
|
||||
this.visible = false
|
||||
} else {
|
||||
this.updateListTransactionLinks()
|
||||
this.visible = true
|
||||
}
|
||||
},
|
||||
async updateListTransactionLinks() {
|
||||
if (this.currentPage === 0) {
|
||||
this.transactionLinks = []
|
||||
@ -110,8 +118,5 @@ export default {
|
||||
this.updateListTransactionLinks()
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.updateListTransactionLinks()
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user