mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #2859 from omnivore-app/fix/undo-on-web
fix labels and highlights were deleted when deleting items
This commit is contained in:
commit
32b15b3ba9
2 changed files with 0 additions and 5 deletions
|
|
@ -672,10 +672,6 @@ export const setBookmarkArticleResolver = authorized<
|
|||
page.id,
|
||||
{
|
||||
state: ArticleSavingRequestStatus.Deleted,
|
||||
labels: [],
|
||||
highlights: [],
|
||||
readingProgressAnchorIndex: 0,
|
||||
readingProgressPercent: 0,
|
||||
},
|
||||
pageContext
|
||||
)
|
||||
|
|
|
|||
|
|
@ -765,7 +765,6 @@ describe('Article API', () => {
|
|||
await graphqlRequest(query, authToken).expect(200)
|
||||
const page = await getPageById(articleId)
|
||||
expect(page?.state).to.eql(ArticleSavingRequestStatus.Deleted)
|
||||
expect(page?.highlights).to.eql([])
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue