Fix upload list

This commit is contained in:
Eli Ribble 2026-03-28 06:38:23 -07:00
parent 7699e58bc3
commit 2e0f657585
No known key found for this signature in database
2 changed files with 20 additions and 8 deletions

View file

@ -1,4 +1,4 @@
<style scoped>
<style scoped lang="scss">
.upload-card {
transition: transform 0.2s;
margin-bottom: 30px;
@ -158,3 +158,16 @@
</div>
</div>
</template>
<script setup lang="ts">
import { computed, onMounted } from "vue";
import TimeRelative from "@/components/TimeRelative.vue";
import { useUploadStore } from "@/store/upload";
const uploadStore = useUploadStore();
const uploads = computed(() => {
return uploadStore.all;
});
onMounted(() => {
uploadStore.fetchAll();
});
</script>