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 3836246d2c
commit ac5d755259

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>