mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-28 06:56:01 -05:00
[web] Remove unnecessary computed property
This commit is contained in:
parent
d50c94a63c
commit
45b50086b9
@ -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) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user