small fixes for bottom
This commit is contained in:
parent
a98a0dbcdc
commit
b7c4fb2f61
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<ul>
|
||||
<ul :style="{marginBottom: currentEpisode ? '6rem' : 'auto'}">
|
||||
<NcListItem v-for="feed in feeds"
|
||||
:key="feed.link"
|
||||
:details="formatTimeAgo(new Date(feed.fetchedAtUnix*1000))"
|
||||
|
@ -42,6 +42,11 @@ export default {
|
|||
feeds: [],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
currentEpisode() {
|
||||
return this.$store.state.player.episode
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
value() {
|
||||
this.search()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<fragment>
|
||||
<NcLoadingIcon v-if="loading" />
|
||||
<ul v-if="!loading" :style="{marginBottom: currentEpisode ? '5rem' : 'auto'}">
|
||||
<ul v-if="!loading" :style="{marginBottom: currentEpisode ? '6rem' : 'auto'}">
|
||||
<NcListItem v-for="episode in episodes"
|
||||
:key="episode.episodeUrl"
|
||||
:details="formatTimeAgo(new Date(episode.episodePubDate.date))"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</NcAppNavigationNew>
|
||||
</router-link>
|
||||
<NcLoadingIcon v-if="loading" />
|
||||
<ul v-if="!loading">
|
||||
<ul v-if="!loading" :style="{marginBottom: currentEpisode ? '6rem' : 'auto'}">
|
||||
<Item v-for="subscriptionUrl of subscriptions"
|
||||
:key="subscriptionUrl"
|
||||
:url="subscriptionUrl" />
|
||||
|
@ -48,6 +48,9 @@ export default {
|
|||
}
|
||||
},
|
||||
computed: {
|
||||
currentEpisode() {
|
||||
return this.$store.state.player.episode
|
||||
},
|
||||
subscriptions() {
|
||||
return this.$store.state.subscriptions.subscriptions
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue