@everchron/ec-shards 5.0.5 → 5.0.7

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": "@everchron/ec-shards",
3
- "version": "5.0.5",
3
+ "version": "5.0.7",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -162,11 +162,11 @@
162
162
  methods: {
163
163
  sortBy(){
164
164
  if(this.sorting == 'none')
165
- this.newSort = 'descending'
166
- else if(this.sorting == 'ascending')
167
- this.newSort = 'descending'
165
+ this.newSort = 'asc'
166
+ else if(this.sorting == 'desc')
167
+ this.newSort = 'asc'
168
168
  else
169
- this.newSort = 'ascending'
169
+ this.newSort = 'desc'
170
170
 
171
171
  /** Emitted when the sort button is clicked. Returns the new sort order for the column. */
172
172
  this.$emit('sortby', this.newSort, this.name)