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

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 66688f9  project: close token form on cancel
66688f9 is described below

commit 66688f974e23be56a0d76596b6469805d1e0e83e
Author: Rohit Yadav <[email protected]>
AuthorDate: Thu Mar 5 15:07:06 2020 +0530

    project: close token form on cancel
    
    Fixes #192
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 src/views/project/InvitationTokenTemplate.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/project/InvitationTokenTemplate.vue 
b/src/views/project/InvitationTokenTemplate.vue
index 2a5eefe..2b9a209 100644
--- a/src/views/project/InvitationTokenTemplate.vue
+++ b/src/views/project/InvitationTokenTemplate.vue
@@ -40,7 +40,7 @@
         </a-form-item>
         <div class="card-footer">
           <!-- ToDo extract as component -->
-          <a-button @click="() => this.$router.back()">{{ this.$t('cancel') 
}}</a-button>
+          <a-button @click="() => $emit('close-action')">{{ this.$t('cancel') 
}}</a-button>
           <a-button :loading="loading" type="primary" @click="handleSubmit">{{ 
this.$t('OK') }}</a-button>
         </div>
       </a-form>

Reply via email to