|
@@ -1,7 +1,5 @@
|
|
|
<template>
|
|
|
<div class="content playlists-tab">
|
|
|
- <create-playlist v-if="modals.createPlaylist" />
|
|
|
-
|
|
|
<div v-if="playlists.length > 0">
|
|
|
<h4 class="section-title">
|
|
|
{{ myUserId === userId ? "My" : null }}
|
|
@@ -95,7 +93,6 @@
|
|
|
|
|
|
<script>
|
|
|
import { mapActions, mapState, mapGetters } from "vuex";
|
|
|
-import { defineAsyncComponent } from "vue";
|
|
|
|
|
|
import PlaylistItem from "@/components/PlaylistItem.vue";
|
|
|
import SortablePlaylists from "@/mixins/SortablePlaylists.vue";
|
|
@@ -103,10 +100,7 @@ import ws from "@/ws";
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
- PlaylistItem,
|
|
|
- CreatePlaylist: defineAsyncComponent(() =>
|
|
|
- import("@/components/modals/CreatePlaylist.vue")
|
|
|
- )
|
|
|
+ PlaylistItem
|
|
|
},
|
|
|
mixins: [SortablePlaylists],
|
|
|
props: {
|