Merge branch 'fix-event-report-modal-trigger' into 'master'

Fix event report modal trigger

See merge request framasoft/mobilizon!512
This commit is contained in:
Thomas Citharel 2020-07-07 09:49:22 +02:00
commit 2a89acb6db

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>