mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Show failed pages in library
This commit is contained in:
parent
0b0100f0e5
commit
9048ccbab3
2 changed files with 2 additions and 7 deletions
|
|
@ -377,13 +377,7 @@ export const searchPages = async (
|
|||
},
|
||||
],
|
||||
should: [],
|
||||
must_not: [
|
||||
{
|
||||
term: {
|
||||
state: ArticleSavingRequestStatus.Failed,
|
||||
},
|
||||
},
|
||||
],
|
||||
must_not: [],
|
||||
},
|
||||
},
|
||||
sort: [
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ export const createPageSaveRequest = async (
|
|||
const existingPage = await getPageByParam({
|
||||
userId,
|
||||
url,
|
||||
state: ArticleSavingRequestStatus.Succeeded,
|
||||
})
|
||||
if (existingPage) {
|
||||
console.log('Page already exists', url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue