Allow to disable event creation

And change the group toggle

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-09-02 15:08:47 +02:00
parent 93bb34d037
commit 69faeec14c
8 changed files with 20 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
v-if="config && config.features.groups"
>{{ $t("My groups") }}</b-navbar-item
>
<b-navbar-item tag="span">
<b-navbar-item tag="span" v-if="config && config.features.eventCreation">
<b-button tag="router-link" :to="{ name: RouteName.CREATE_EVENT }" type="is-primary">{{
$t("Create")
}}</b-button>