mirror of
https://git.crystalyx.net/Xefir/repod.git
synced 2024-12-29 10:10:56 +01:00
fix: regression with addrss
This commit is contained in:
parent
615f9e0c49
commit
0c2154a2ab
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user