rename from getListTransactionLinks to listTransactionLinks

This commit is contained in:
ogerly 2022-03-22 11:10:04 +01:00
parent b5a5c21744
commit 942d4d2d3a
2 changed files with 20 additions and 0 deletions

View File

@ -73,6 +73,8 @@
v-if="!row.item.deletedAt"
:userId="row.item.userId"
/>
<links-transaction-list-formular :userId="row.item.userId"/>
<deleted-user-formular :item="row.item" @updateDeletedAt="updateDeletedAt" />
</b-card>
</template>
@ -83,6 +85,7 @@
import CreationFormular from '../CreationFormular.vue'
import ConfirmRegisterMailFormular from '../ConfirmRegisterMailFormular.vue'
import CreationTransactionListFormular from '../CreationTransactionListFormular.vue'
import LinksTransactionListFormular from '../LinksTransactionListFormular.vue'
import DeletedUserFormular from '../DeletedUserFormular.vue'
export default {
@ -91,6 +94,7 @@ export default {
CreationFormular,
ConfirmRegisterMailFormular,
CreationTransactionListFormular,
LinksTransactionListFormular,
DeletedUserFormular,
},
props: {

View File

@ -0,0 +1,16 @@
import gql from 'graphql-tag'
export const listTransactionLinks = gql`
query($currentPage: Int = 1, $pageSize: Int = 5) {
listTransactionLinks(currentPage: $currentPage, pageSize: $pageSize) {
id
amount
holdAvailableAmount
memo
code
createdAt
validUntil
redeemedAt
}
}
`