Fix event report modal trigger

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-07-07 09:33:34 +02:00
parent 5fe829ae76
commit a768c4906f
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -288,8 +288,12 @@
<b-icon icon="calendar-plus" /> <b-icon icon="calendar-plus" />
</span> </span>
</b-dropdown-item> </b-dropdown-item>
<b-dropdown-item aria-role="listitem" v-if="ableToReport"> <b-dropdown-item
<span @click="isReportModalActive = true"> aria-role="listitem"
v-if="ableToReport"
@click="isReportModalActive = true"
>
<span>
{{ $t("Report") }} {{ $t("Report") }}
<b-icon icon="flag" /> <b-icon icon="flag" />
</span> </span>