Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Add some text for when you haven't filed any reports (#1304)
Browse files Browse the repository at this point in the history
* Add a message for no viewable reports.

* implement proposal
  • Loading branch information
qtchaos authored Aug 18, 2023
1 parent f453dff commit fbb50d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/ui/report/ReportsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
:auth="auth"
class="universal-card recessed"
/>
<p v-if="reports.length === 0">You don't have any active reports.</p>
</template>
<script setup>
import Chips from '~/components/ui/Chips.vue'
Expand Down
2 changes: 1 addition & 1 deletion pages/dashboard/reports.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<section class="universal-card">
<h2>Reports you've filed</h2>
<h2>Reports</h2>
<ReportsList :auth="auth" />
</section>
</div>
Expand Down

0 comments on commit fbb50d8

Please sign in to comment.