Skip to content

Commit

Permalink
fix: Number fields are now represented as string fields, parse them t…
Browse files Browse the repository at this point in the history
…o integers before reordering
  • Loading branch information
staylorwr committed May 12, 2021
1 parent 20f91db commit 4a91569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ export default {
});
this.resourcesToSort = _.sortBy(this.resources, resource => {
return resource.fields[index].value;
return parseInt(resource.fields[index].value);
});
this.isSorting = true;
Expand Down

0 comments on commit 4a91569

Please sign in to comment.