mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Moved reverse of the getPendingCreations to the AdminResolver instead to do it in the CreationConfirm page.
This commit is contained in:
parent
64109b2903
commit
f787a7470f
@ -80,7 +80,7 @@ export default {
|
||||
})
|
||||
.then((result) => {
|
||||
this.$store.commit('resetOpenCreations')
|
||||
this.confirmResult = result.data.getPendingCreations.reverse()
|
||||
this.confirmResult = result.data.getPendingCreations
|
||||
this.$store.commit('setOpenCreations', result.data.getPendingCreations.length)
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
@ -132,7 +132,7 @@ export class AdminResolver {
|
||||
return newPendingCreation
|
||||
}),
|
||||
)
|
||||
return pendingCreationsPromise
|
||||
return pendingCreationsPromise.reverse()
|
||||
}
|
||||
|
||||
@Mutation(() => Boolean)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user