summaryrefslogtreecommitdiff
path: root/pages/models
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-26 18:21:28 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-26 18:21:28 +0200
commit53a32a36666d58b510d53ce2d78e7e2156c319aa (patch)
tree021795cd4c9b185c2cb4a4dc517b44c8c7c1d0a2 /pages/models
parenta70c5c0a7164486568ffaec1e67a6e87de1bba93 (diff)
See reports (warnings on backend)
Diffstat (limited to 'pages/models')
-rw-r--r--pages/models/_id/index.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/models/_id/index.vue b/pages/models/_id/index.vue
index 69510cc..ee51035 100644
--- a/pages/models/_id/index.vue
+++ b/pages/models/_id/index.vue
@@ -110,6 +110,7 @@
<path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" />
</svg>
| Delete
+ model-reports-list(:model="model.id" v-if="me && model.id")
.images.shadow-sm.rounded-lg.bg-white.p-4.w-full(v-if="model.uploads")
.block.gap-4.h-full(class="md:flex")
.w-full(class="md:w-4/5")
@@ -186,6 +187,7 @@
<script>
import FilePreview from "@/components/FilePreview.vue";
+import ModelReportsList from "@/components/ModelReportsList.vue";
import UserAvatar from "@/components/UserAvatar.vue";
import { mapGetters } from "vuex";
@@ -213,6 +215,7 @@ export default {
components: {
"user-avatar": UserAvatar,
"file-preview": FilePreview,
+ "model-reports-list": ModelReportsList,
},
computed: {
...mapGetters(["isLoading"]),