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