CASH-79: fix problems when loader suppressed
This commit is contained in:
parent
92a854abd1
commit
fc3e57321e
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
:class="[
|
||||
isPrimary ? 'btn-primary' : 'btn-secondary',
|
||||
isFloat ? 'float-end' : '',
|
||||
isLoaderDisplayed ? 'has-loader' : '',
|
||||
(isLoaderDisplayed && !suppressLoader) ? 'has-loader' : '',
|
||||
]"
|
||||
@click="clicked">
|
||||
<span class="m-0">{{ this.buttonText }}</span>
|
||||
|
|
@ -47,7 +47,7 @@ export default {
|
|||
true
|
||||
);
|
||||
if (!this.isDisabled) {
|
||||
this.isLoaderDisplayed = true;
|
||||
if (!this.suppressLoader) this.isLoaderDisplayed = true;
|
||||
this.$emit("click-event");
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue