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 2018/08/14 19:51:49 UTC
[airavata-django-portal] 07/13: AIRAVATA-2727 Added cancel button
to compute preference page
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit 2556b2eddca92e7567517b723b983a9321e8b006
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Mon Aug 13 13:15:22 2018 -0400
AIRAVATA-2727 Added cancel button to compute preference page
---
.../components/admin/group_resource_preferences/ComputePreference.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue b/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
index 35ad166..87c72db 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
@@ -53,6 +53,7 @@
<div class="row">
<div class="col d-flex justify-content-end">
<b-button variant="primary" @click="save">Save</b-button>
+ <b-button class="ml-2" variant="secondary" @click="cancel">Cancel</b-button>
</div>
</div>
</div>
@@ -189,6 +190,9 @@
console.log("Error occurred", error);
});
}
+ },
+ cancel: function() {
+ this.$router.back();
}
},
}