diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-11-16 02:13:20 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-11-16 02:13:20 +0300 |
commit | c6c493a7305ebe13db32025782e4f4a3a207eee4 (patch) | |
tree | 2bfa13bd09be5c0edd38ca465ce659b92d50aebd /app/assets/javascripts/vue_shared | |
parent | 2f74b1d32392427ce9cc3c0aff205c8991ba2dfc (diff) |
Backport delete epic changes
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/loading_button.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/loading_button.vue b/app/assets/javascripts/vue_shared/components/loading_button.vue index 0cc2653761c..247943f83e6 100644 --- a/app/assets/javascripts/vue_shared/components/loading_button.vue +++ b/app/assets/javascripts/vue_shared/components/loading_button.vue @@ -35,6 +35,11 @@ export default { type: String, required: false, }, + containerClass: { + type: String, + required: false, + default: 'btn btn-align-content', + }, }, components: { loadingIcon, @@ -49,9 +54,9 @@ export default { <template> <button - class="btn btn-align-content" @click="onClick" type="button" + :class="containerClass" :disabled="loading || disabled" > <transition name="fade"> |