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

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

commit 615713a4e353d0e46ed24c4aa1fcf22ac8106cc7
Author: Marcus Christie <[email protected]>
AuthorDate: Fri May 24 10:12:04 2019 -0400

    AIRAVATA-3034 Fixing double initial load of data
---
 .../django_airavata_workspace/js/containers/UserStorageContainer.vue   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
 
b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
index 68fae77..4ec51a2 100644
--- 
a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
+++ 
b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
@@ -54,8 +54,9 @@ export default {
   created() {
     if (this.$route.path === "/") {
       this.$router.replace("/~/");
+    } else {
+      this.loadUserStoragePath(this.storagePath);
     }
-    this.loadUserStoragePath(this.storagePath);
   },
   watch: {
     $route(to, from) {

Reply via email to