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:
Thomas Citharel
2020-12-01 09:55:24 +01:00
parent def6df690d
commit ac8856f08c
3 changed files with 8 additions and 0 deletions

View File

@@ -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