Explorar el Código

fix(ManageStation): modal wouldn't load after migration

Kristian Vos hace 2 años
padre
commit
97c286f056
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      frontend/src/components/PlaylistTabBase.vue

+ 3 - 1
frontend/src/components/PlaylistTabBase.vue

@@ -685,6 +685,8 @@ import { mapActions, mapState, mapGetters } from "vuex";
 import Toast from "toasters";
 import ws from "@/ws";
 
+import { mapModalState } from "@/vuex_helpers";
+
 import PlaylistItem from "@/components/PlaylistItem.vue";
 
 import SortablePlaylists from "@/mixins/SortablePlaylists.vue";
@@ -766,7 +768,7 @@ export default {
 			role: state => state.user.auth.role,
 			userId: state => state.user.auth.userId
 		}),
-		...mapState("modals/manageStation", {
+		...mapModalState("modals/manageStation/MODAL_UUID", {
 			autofill: state => state.autofill
 		}),
 		...mapState("station", {