Add toggle to disable groups

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-06-08 16:47:57 +02:00
parent 7767a6efc7
commit 7dbabcf15f
10 changed files with 29 additions and 8 deletions

View File

@@ -51,7 +51,7 @@
/>
</b-field>
</div>
<div class="column">
<div class="column" v-if="config && config.features.groups">
<b-field :label="$t('Group')" v-if="event.organizerActor">
<group-picker-wrapper v-model="event.attributedTo" :identity="event.organizerActor" />
</b-field>

View File

@@ -12,7 +12,7 @@
}}</b-radio-button>
</b-field>
<ul v-if="reports.length > 0">
<li v-for="report in reports">
<li v-for="report in reports" :key="report.id">
<router-link :to="{ name: RouteName.REPORT, params: { reportId: report.id } }">
<report-card :report="report" />
</router-link>