|
@@ -42,15 +42,9 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<draggable
|
|
<draggable
|
|
- tag="transition-group"
|
|
|
|
- :component-data="{
|
|
|
|
- name: !drag ? 'draggable-list-transition' : null
|
|
|
|
- }"
|
|
|
|
item-key="_id"
|
|
item-key="_id"
|
|
v-model="favoriteStations"
|
|
v-model="favoriteStations"
|
|
v-bind="dragOptions"
|
|
v-bind="dragOptions"
|
|
- @start="drag = true"
|
|
|
|
- @end="drag = false"
|
|
|
|
@change="changeFavoriteOrder"
|
|
@change="changeFavoriteOrder"
|
|
>
|
|
>
|
|
<template #item="{element}">
|
|
<template #item="{element}">
|
|
@@ -472,8 +466,7 @@ export default {
|
|
favoriteStations: [],
|
|
favoriteStations: [],
|
|
searchQuery: "",
|
|
searchQuery: "",
|
|
sitename: "Musare",
|
|
sitename: "Musare",
|
|
- orderOfFavoriteStations: [],
|
|
|
|
- drag: false
|
|
|
|
|
|
+ orderOfFavoriteStations: []
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|