You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/12/08 14:36:35 UTC

[airavata-django-portal] branch develop updated: AIRAVATA-3679 Remove limitation on directory download size

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/develop by this push:
     new 752c3485 AIRAVATA-3679 Remove limitation on directory download size
752c3485 is described below

commit 752c348564aace940d653300ed56dd003528e290
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Dec 8 09:34:34 2022 -0500

    AIRAVATA-3679 Remove limitation on directory download size
---
 .../js/components/storage/UserStoragePathViewer.vue                 | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue
index 974c27c8..9f99d059 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue
@@ -65,12 +65,10 @@
           Download File
           <i class="fa fa-download" aria-hidden="true"></i>
         </b-link>
-        <!-- max download directory size is 1GB, see airavata_django_portal_sdk/views.py -->
         <b-link
           v-if="data.item.type === 'dir'"
           class="action-link"
           :href="`/sdk/download-dir/?path=${data.item.path}`"
-          :disabled="data.item.size >= Math.pow(10, 9)"
         >
           Download Zip
           <i class="fa fa-file-archive" aria-hidden="true"></i>
@@ -240,8 +238,4 @@ export default {
 .action-link + .delete-link {
   margin-left: 0.25rem;
 }
-a.disabled {
-  pointer-events: none;
-  color: var(--secondary);
-}
 </style>