@magicgol/polyjuice 0.29.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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">