Skip to content

Commit be30ee1

Browse files
committed
simplify sorting
1 parent 4a58da0 commit be30ee1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

frontend/src/components/app/recommendations/Recommendations.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,7 @@ export default {
147147
watch: {
148148
sorting: {
149149
handler() {
150-
let base = this.recommendationsBackup.slice();
151-
base = this.filter(base);
152-
this.sort(base, this.sorting);
153-
this.recommendations = base;
150+
this.sort(this.recommendations, this.sorting);
154151
},
155152
},
156153
filters: {

0 commit comments

Comments
 (0)