Jelajahi Sumber

refactor(Home): temporarily disabled draggable transitions as it's broken

Kristian Vos 3 tahun lalu
induk
melakukan
b73b87f09c
1 mengubah file dengan 1 tambahan dan 8 penghapusan
  1. 1 8
      frontend/src/pages/Home.vue

+ 1 - 8
frontend/src/pages/Home.vue

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