fix: regression with addrss
This commit is contained in:
parent
615f9e0c49
commit
0c2154a2ab
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<ul class="bar">
|
<ul class="bar">
|
||||||
<NcAppNavigationNewItem :name="t('repod', 'Add a RSS link')"
|
<NcAppNavigationNewItem :name="t('repod', 'Add a RSS link')"
|
||||||
@new-item="$router.push(encodeUrl(feedUrl))">
|
@new-item="addSubscription">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<Plus :size="20" />
|
<Plus :size="20" />
|
||||||
</template>
|
</template>
|
||||||
@ -21,7 +21,9 @@ export default {
|
|||||||
Plus,
|
Plus,
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
encodeUrl,
|
addSubscription(feedUrl) {
|
||||||
|
this.$router.push(encodeUrl(feedUrl))
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user