浏览代码

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

Kristian Vos 2 年之前
父节点
当前提交
97c286f056
共有 1 个文件被更改,包括 3 次插入1 次删除
  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", {