Revert changes (#513)

* Revert "Remove includePending"

This reverts commit d9c58a6ee2.

* Revert "Remove state"

This reverts commit e2b6cadfda.

* Revert "Remove slug in articleSavingRequest"

This reverts commit 4502bece36.
This commit is contained in:
Hongbo Wu 2022-04-29 14:26:00 +08:00 committed by GitHub
parent 46aac8ac0a
commit c089b74af9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,7 @@ export const articleFragment = gql`
isArchived
description
linkId
state
}
`

View file

@ -72,6 +72,7 @@ export function useGetArticleSavingStatus({
...HighlightFields
}
}
slug
}
}
... on ArticleSavingRequestError {

View file

@ -84,6 +84,7 @@ const libraryItemFragment = gql`
isArchived
description
linkId
state
labels {
...LabelFields
}
@ -110,6 +111,7 @@ export function useGetLibraryItemsQuery({
first: $first
after: $after
query: $query
includePending: true
) {
... on ArticlesSuccess {
edges {