fix: regression with addrss
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 1m11s
repod / nodejs (push) Successful in 2m13s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-11 22:29:14 +01:00
parent 615f9e0c49
commit 0c2154a2ab

View File

@ -1,7 +1,7 @@
<template>
<ul class="bar">
<NcAppNavigationNewItem :name="t('repod', 'Add a RSS link')"
@new-item="$router.push(encodeUrl(feedUrl))">
@new-item="addSubscription">
<template #icon>
<Plus :size="20" />
</template>
@ -21,7 +21,9 @@ export default {
Plus,
},
methods: {
encodeUrl,
addSubscription(feedUrl) {
this.$router.push(encodeUrl(feedUrl))
},
},
}
</script>