From c66c7a87ba516646fa0878cbd00d6555a39411ca Mon Sep 17 00:00:00 2001 From: Sonia Zorba Date: Wed, 13 Nov 2024 12:19:50 +0100 Subject: [PATCH] Added "Number of files" and "Size (kB)" to task group info modal --- .../v2/tasks/TaskGroupInfoModal.svelte | 4 ++++ .../components/v2/tasks/TaskGroupsTable.svelte | 18 ++++++++---------- src/lib/types-v2.d.ts | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/lib/components/v2/tasks/TaskGroupInfoModal.svelte b/src/lib/components/v2/tasks/TaskGroupInfoModal.svelte index 6c271aff..ad6801d1 100644 --- a/src/lib/components/v2/tasks/TaskGroupInfoModal.svelte +++ b/src/lib/components/v2/tasks/TaskGroupInfoModal.svelte @@ -58,6 +58,10 @@
  • {taskGroup.path || '-'}
  • Venv path
  • {taskGroup.venv_path || '-'}
  • +
  • Number of files
  • +
  • {taskGroup.venv_file_number || '-'}
  • +
  • Size (kB)
  • +
  • {taskGroup.venv_size_in_kB || '-'}
  • Pip extras
  • {taskGroup.pip_extras || '-'}
  • diff --git a/src/lib/components/v2/tasks/TaskGroupsTable.svelte b/src/lib/components/v2/tasks/TaskGroupsTable.svelte index 8bf8b415..9e0e8b9d 100644 --- a/src/lib/components/v2/tasks/TaskGroupsTable.svelte +++ b/src/lib/components/v2/tasks/TaskGroupsTable.svelte @@ -202,16 +202,14 @@ Edit - {#if taskGroupRow.groups[taskGroupRow.selectedVersion].origin === 'other'} - - {/if} +