mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
check if the page is from rss feed
This commit is contained in:
parent
9bc7ed92c0
commit
f20e12311a
1 changed files with 4 additions and 1 deletions
|
|
@ -142,7 +142,10 @@ export const savePage = async (
|
|||
})
|
||||
if (existingPage) {
|
||||
// we don't want to update an rss feed page if rss-feeder is tring to re-save it
|
||||
if (existingPage.rssFeedUrl === input.rssFeedUrl) {
|
||||
if (
|
||||
existingPage.rssFeedUrl &&
|
||||
existingPage.rssFeedUrl === input.rssFeedUrl
|
||||
) {
|
||||
return {
|
||||
clientRequestId: pageId,
|
||||
url: `${homePageURL()}/${saver.username}/${slug}`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue