Removed no longer used method

This commit is contained in:
Roman Cervantes 2019-10-05 22:25:56 -07:00
parent b05634c45f
commit 2fad16b9e1

View file

@ -212,8 +212,6 @@ export default {
gameLists[this.platform.code][this.listIndex] = this.localList;
// sort list
this.$store.dispatch('SAVE_LIST', gameLists)
.then(() => {
this.$bus.$emit('TOAST', { message: 'List saved' });
@ -225,19 +223,6 @@ export default {
});
},
sort(sortOrder) {
if (sortOrder === 'sortByName') {
this.$store.commit('SORT_LIST_ALPHABETICALLY', this.listIndex);
this.$emit('update', 'List sorted alphabetically');
} else if (sortOrder === 'sortByRating') {
this.$store.commit('SORT_LIST_BY_RATING', this.listIndex);
this.$emit('update', 'List sorted by game rating');
} else if (sortOrder === 'sortByReleaseDate') {
this.$store.commit('SORT_LIST_BY_RELEASE_DATE', this.listIndex);
this.$emit('update', 'List sorted by game rating');
}
},
moveList(from, to) {
this.$store.commit('MOVE_LIST', { from, to });
this.save();