mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-04-14 11:36:27 +00:00
Fix rss feed modal not showing full URL once open #1652
This commit is contained in:
parent
c6a7c6fec2
commit
bd8668f0bf
1 changed files with 6 additions and 2 deletions
|
|
@ -12,9 +12,9 @@
|
|||
<div class="w-full relative">
|
||||
<h1 class="text-lg mb-4">{{ $strings.HeaderRSSFeedIsOpen }}</h1>
|
||||
|
||||
<ui-text-input v-model="currentFeed.feedUrl" class="text-sm" readonly />
|
||||
<ui-text-input v-model="fullFeedUrl" class="text-sm" readonly />
|
||||
|
||||
<span class="material-symbols absolute right-2 bottom-2 p-0.5 text-base" :class="linkCopied ? 'text-success' : 'text-fg-muted'" @click="copyToClipboard(currentFeed.feedUrl)">{{ linkCopied ? 'check' : 'content_copy' }}</span>
|
||||
<span class="material-symbols absolute right-2 bottom-2 p-0.5 text-base" :class="linkCopied ? 'text-success' : 'text-fg-muted'" @click="copyToClipboard(fullFeedUrl)">{{ linkCopied ? 'check' : 'content_copy' }}</span>
|
||||
</div>
|
||||
|
||||
<div v-if="currentFeed.meta" class="mt-5">
|
||||
|
|
@ -119,6 +119,10 @@ export default {
|
|||
demoFeedUrl() {
|
||||
return `${this.serverAddress}/feed/${this.newFeedSlug}`
|
||||
},
|
||||
fullFeedUrl() {
|
||||
if (!this.currentFeed) return ''
|
||||
return `${this.serverAddress}${this.currentFeed.feedUrl}`
|
||||
},
|
||||
isHttp() {
|
||||
return !!this.serverAddress?.startsWith('http://')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue