forked from AkkomaGang/akkoma-fe
15bac1e401
implements part of #178, other parts will come later Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com> Reviewed-on: AkkomaGang/pleroma-fe#186 Co-authored-by: sfr <sol@solfisher.com> Co-committed-by: sfr <sol@solfisher.com>
21 lines
570 B
Vue
21 lines
570 B
Vue
<template>
|
|
<div :label="$t('moderation.reports.reports')">
|
|
<div class="content">
|
|
<div class="reports-header">
|
|
<h2>{{ $t('moderation.reports.reports') }}</h2>
|
|
<Checkbox v-model="showClosed">
|
|
{{ $t('moderation.reports.show_closed') }}
|
|
</Checkbox>
|
|
</div>
|
|
<ReportCard
|
|
v-for="report in (showClosed ? reports : openReports)"
|
|
:key="report.id"
|
|
v-bind="report"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./reports_tab.js"></script>
|
|
<style src="./reports_tab.scss" lang="scss"></style>
|