Resolve "Can't subscribe to podcasts"
This commit is contained in:
parent
55a99eea14
commit
b2223131b5
|
@ -0,0 +1 @@
|
|||
Fixed remote subscription form in Podcast and search views (#1708)
|
|
@ -1,7 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import type { BackendError } from '~/types'
|
||||
|
||||
import { ref, computed, watch, watchEffect } from 'vue'
|
||||
import { ref, computed, watch } from 'vue'
|
||||
import { useGettext } from 'vue3-gettext'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useStore } from '~/store'
|
||||
|
@ -153,14 +153,13 @@ const rssSubscribe = async () => {
|
|||
isLoading.value = false
|
||||
}
|
||||
|
||||
watchEffect(() => {
|
||||
watch(() => props.initialId, () => {
|
||||
id.value = props.initialId
|
||||
// createFetch()
|
||||
|
||||
if (id.value) {
|
||||
submit()
|
||||
}
|
||||
})
|
||||
}, { immediate: true })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -285,7 +285,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
|||
class="scrolling content"
|
||||
>
|
||||
<remote-search-form
|
||||
type="both"
|
||||
initial-type="both"
|
||||
:show-submit="false"
|
||||
:standalone="false"
|
||||
:redirect="true"
|
||||
|
|
Loading…
Reference in New Issue