Skip to content

Commit 439582b

Browse files
committed
saveSort event kebab case
1 parent 8371d64 commit 439582b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
v-bind:startingOption="'Closest'"
1111
v-bind:options="['Closest', 'Furthest', 'Youngest',
1212
'Oldest', 'Most popular', 'Least popular', 'Most common interests', 'Least common interests']"
13-
v-on:saveSort="saveSort"></Sort>
13+
v-on:save-sort="saveSort"></Sort>
1414
<FilterSliderDropdown
1515
v-bind:min="recommendationsAnalysis.age.min"
1616
v-bind:max="recommendationsAnalysis.age.max"

frontend/src/components/shared/Sort.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
</template>
1616

1717
<script>
18-
/* eslint-disable vue/custom-event-name-casing */
1918
export default {
2019
props: ['options', 'name', 'position', 'startingOption'],
2120
data: () => ({
@@ -26,7 +25,7 @@ export default {
2625
select(option) {
2726
this.close();
2827
this.currentOption = option;
29-
this.$emit('saveSort', option);
28+
this.$emit('save-sort', option);
3029
},
3130
toggle() {
3231
this.closed = !this.closed;

0 commit comments

Comments
 (0)