diff --git a/admin/src/components/Tables/OpenCreationsTable.vue b/admin/src/components/Tables/OpenCreationsTable.vue
index 2c5caabb5..2c32c2fbf 100644
--- a/admin/src/components/Tables/OpenCreationsTable.vue
+++ b/admin/src/components/Tables/OpenCreationsTable.vue
@@ -8,7 +8,7 @@
@click="$emit('remove-creation', row.item)"
class="mr-2"
>
-
+
@@ -49,6 +49,18 @@
+
+
+
+
+
+
+
{
+ if (value) {
+ await this.$apollo
+ .mutate({
+ mutation: rejectContribution,
+ variables: {
+ id: item.id,
+ },
+ })
+ .then((result) => {
+ this.toastSuccess(this.$t('creation_form.toasted_rejected'))
+ })
+ .catch((error) => {
+ this.toastError(error.message)
+ })
+ }
+ })
+ },
removeCreation(item) {
this.$bvModal.msgBoxConfirm(this.$t('creation_form.deleteNow')).then(async (value) => {
if (value)
@@ -110,6 +131,7 @@ export default {
{ key: 'moderator', label: this.$t('moderator') },
{ key: 'editCreation', label: this.$t('edit') },
{ key: 'confirm', label: this.$t('save') },
+ { key: 'deny', label: this.$t('deny') },
]
},
},