diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue index ad6b4ba2a9..184e9c92f9 100644 --- a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue @@ -57,6 +57,7 @@ interface DownloadDependencyRow { projectHref?: string downloadHref?: string filename?: string + fileSize?: number typeLabel: string unavailableTooltip: string dependencies: DownloadDependencyRow[] @@ -259,6 +260,7 @@ const additionalFileRows = computed(() => fallbackIcon: FileIcon, downloadHref: getDownloadUrl(file.url), filename: file.filename, + fileSize: file.size, typeLabel: fileTypeLabel(file.file_type), unavailableTooltip: formatMessage(messages.unavailableFile), dependencies: [], @@ -323,6 +325,7 @@ function createDependencyRow(dependency: ResolvedContent): DownloadDependencyRow downloadHref: 'reason' in dependency || !primaryFile ? undefined : getDownloadUrl(primaryFile.url), filename: primaryFile?.filename, + fileSize: primaryFile?.size, typeLabel: 'Required', unavailableTooltip, dependencies: (versionId && dependenciesByParentVersionId.value.get(versionId) diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependency.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependency.vue index 02ce80e1d2..840d4ff35e 100644 --- a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependency.vue +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependency.vue @@ -46,10 +46,10 @@