Browse Source

fix(editSong): Re-added musare songs tab socket mapGetter

Owen Diffey 3 years ago
parent
commit
8bcc3e5b20
1 changed files with 4 additions and 1 deletions
  1. 4 1
      frontend/src/components/modals/EditSong/Tabs/Songs.vue

+ 4 - 1
frontend/src/components/modals/EditSong/Tabs/Songs.vue

@@ -37,7 +37,7 @@
 </template>
 
 <script>
-import { mapState } from "vuex";
+import { mapGetters, mapState } from "vuex";
 
 import SearchMusare from "@/mixins/SearchMusare.vue";
 
@@ -54,6 +54,9 @@ export default {
 	computed: {
 		...mapState("modals/editSong", {
 			song: state => state.song
+		}),
+		...mapGetters({
+			socket: "websockets/getSocket"
 		})
 	},
 	mounted() {