Show draft status on events and posts in group admin
Closes #413 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
def6df690d
commit
ac8856f08c
@ -96,6 +96,7 @@ export const GROUP_FIELDS_FRAGMENTS = gql`
|
||||
uuid
|
||||
title
|
||||
beginsOn
|
||||
draft
|
||||
options {
|
||||
maximumAttendeeCapacity
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ export const POST_FRAGMENT = gql`
|
||||
slug
|
||||
url
|
||||
body
|
||||
draft
|
||||
author {
|
||||
id
|
||||
preferredUsername
|
||||
|
@ -200,6 +200,9 @@
|
||||
:to="{ name: RouteName.EVENT, params: { uuid: props.row.uuid } }"
|
||||
>
|
||||
{{ props.row.title }}
|
||||
<b-tag type="is-info" v-if="props.row.draft">{{
|
||||
$t("Draft")
|
||||
}}</b-tag>
|
||||
</router-link>
|
||||
</b-table-column>
|
||||
<b-table-column
|
||||
@ -240,6 +243,9 @@
|
||||
:to="{ name: RouteName.POST, params: { slug: props.row.slug } }"
|
||||
>
|
||||
{{ props.row.title }}
|
||||
<b-tag type="is-info" v-if="props.row.draft">{{
|
||||
$t("Draft")
|
||||
}}</b-tag>
|
||||
</router-link>
|
||||
</b-table-column>
|
||||
<b-table-column
|
||||
|
Loading…
Reference in New Issue
Block a user