@magicgol/polyjuice 0.29.0 → 0.29.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -112,7 +112,9 @@ export default {
112
112
 
113
113
  methods: {
114
114
  onClick() {
115
- this.$emit('click');
115
+ if (!this.disabled && !this.deactivated) {
116
+ this.$emit('click');
117
+ }
116
118
  },
117
119
  },
118
120
  };
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <mg-tertiary-button
3
- :click="onClick"
3
+ @click="onClick"
4
4
  :class="classes"
5
5
  >
6
6
  <div class="d-flex">