mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
liniting
This commit is contained in:
parent
d4d38e29b6
commit
d9b19fbfa0
@ -83,22 +83,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import Overlay from '../components/Overlay'
|
import Overlay from '../components/Overlay'
|
||||||
import OpenCreationsTable from '../components/Tables/OpenCreationsTable'
|
import OpenCreationsTable from '../components/Tables/OpenCreationsTable'
|
||||||
import { adminListContributions } from '../graphql/adminListContributions'
|
import { adminListContributions } from '../graphql/adminListContributions'
|
||||||
import { adminDeleteContribution } from '../graphql/adminDeleteContribution'
|
import { adminDeleteContribution } from '../graphql/adminDeleteContribution'
|
||||||
import { confirmContribution } from '../graphql/confirmContribution'
|
import { confirmContribution } from '../graphql/confirmContribution'
|
||||||
import { denyContribution } from '../graphql/denyContribution'
|
import { denyContribution } from '../graphql/denyContribution'
|
||||||
|
|
||||||
const FILTER_TAB_MAP = [
|
const FILTER_TAB_MAP = [
|
||||||
['IN_PROGRESS', 'PENDING'],
|
['IN_PROGRESS', 'PENDING'],
|
||||||
['CONFIRMED'],
|
['CONFIRMED'],
|
||||||
['DENIED'],
|
['DENIED'],
|
||||||
['DELETED'],
|
['DELETED'],
|
||||||
['IN_PROGRESS', 'PENDING', 'CONFIRMED', 'DENIED', 'DELETED'],
|
['IN_PROGRESS', 'PENDING', 'CONFIRMED', 'DENIED', 'DELETED'],
|
||||||
]
|
]
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CreationConfirm',
|
name: 'CreationConfirm',
|
||||||
components: {
|
components: {
|
||||||
OpenCreationsTable,
|
OpenCreationsTable,
|
||||||
@ -411,7 +411,7 @@
|
|||||||
this.rows = adminListContributions.contributionCount
|
this.rows = adminListContributions.contributionCount
|
||||||
this.items = adminListContributions.contributionList
|
this.items = adminListContributions.contributionList
|
||||||
if (this.statusFilter === FILTER_TAB_MAP[0]) {
|
if (this.statusFilter === FILTER_TAB_MAP[0]) {
|
||||||
this.$store.commit('setOpenCreations', adminListAllContributions.contributionCount)
|
this.$store.commit('setOpenCreations', adminListContributions.contributionCount)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error({ message }) {
|
error({ message }) {
|
||||||
@ -419,7 +419,7 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
#overlay {
|
#overlay {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user