@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/dist/index.js +2 -7
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Sorting/Sorting.vue +2 -6
package/package.json
CHANGED
|
@@ -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);
|