fix download button refresh bug

This commit is contained in:
2026-07-22 08:33:21 +01:00
parent 49180a462d
commit ba08ec5081
+2 -1
View File
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { useRemoteFileStore } from '@/stores.ts';
import DownloadIcon from '@/icons/DownloadIcon.vue';
import { computed } from 'vue';
const props = defineProps<{
file: dto.File
@@ -8,7 +9,7 @@ const props = defineProps<{
const fileStore = useRemoteFileStore()
const url = `${fileStore.serverUrl}/file/${props.file.id}`
const url = computed(() => `${fileStore.serverUrl}/file/${props.file.id}`)
</script>
<template>