Ver código fonte

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

Kristian Vos 3 anos atrás
pai
commit
b73b87f09c
1 arquivos alterados com 1 adições e 8 exclusões
  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: {