@avakhula/ui 0.0.60 → 0.0.62

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": "@avakhula/ui",
3
- "version": "0.0.60",
3
+ "version": "0.0.62",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -90,15 +90,9 @@ export default {
90
90
  currentTypeSort: this.sort,
91
91
  };
92
92
  },
93
- watch: {
94
- currentTypeSort: function () {
95
- this.updateTypeSorting();
96
- },
97
- },
98
93
  methods: {
99
94
  clickHandler() {
100
95
  this.$globalEvents.$emit(`sorting:update:${this.tableName}`, this);
101
-
102
96
  if (!this.currentTypeSort) {
103
97
  this.currentTypeSort = this.sortingTypes.TYPE_ASC;
104
98
  return;
@@ -107,6 +101,8 @@ export default {
107
101
  return;
108
102
  }
109
103
  this.currentTypeSort = null;
104
+
105
+ this.updateTypeSorting();
110
106
  },
111
107
  updateTypeSorting() {
112
108
  this.$emit("update-sorting", this.currentTypeSort);