mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[web] Remove unnecessary computed property
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<list-playlists v-if="has_playlists" :playlists="playlists" />
|
<list-playlists :playlists="playlists" />
|
||||||
</template>
|
</template>
|
||||||
</content-with-heading>
|
</content-with-heading>
|
||||||
</div>
|
</div>
|
||||||
@@ -65,9 +65,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
has_playlists() {
|
|
||||||
return Object.keys(this.playlists_list.itemsByGroup).length > 0
|
|
||||||
},
|
|
||||||
playlists() {
|
playlists() {
|
||||||
this.playlists_list.group(noop(), [
|
this.playlists_list.group(noop(), [
|
||||||
(playlist) =>
|
(playlist) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user