mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 04:03:06 +00:00
Removed no longer used method
This commit is contained in:
parent
b05634c45f
commit
2fad16b9e1
1 changed files with 0 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue