Support reporting both rooms and individual events

This commit is contained in:
N-Pex 2025-11-03 16:47:41 +01:00
parent a96e6b8b2d
commit 997c8332fb
8 changed files with 105 additions and 81 deletions

View file

@ -20,6 +20,9 @@
<v-btn id="btn-download" icon @click.stop="download" class="ma-0 pa-0" v-if="isDownloadable">
<v-icon size="small">get_app</v-icon>
</v-btn>
<v-btn id="btn-report" icon @click.stop="report" class="ma-0 pa-0">
<v-icon size="small">$vuetify.icons.ic_report</v-icon>
</v-btn>
</div>
</template>

View file

@ -58,5 +58,9 @@ export default {
this.$emit("close");
this.$emit("unpin", {event:this.event});
},
report() {
this.$emit("close");
this.$emit("report", {event:this.event});
}
}
}