Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Aug 16, 2023
2 parents 674dad5 + 5019023 commit 989e824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/app-page-builder/src/admin/graphql/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const DATA_FIELDS = `
status
revisions {
id
pid
savedOn
locked
title
Expand Down
3 changes: 2 additions & 1 deletion packages/app-page-builder/src/admin/views/Pages/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ interface PageListVariables {
};
// [key: string]: any;
}

export const readPageListVariables = (): PageListVariables => {
let variables;

Expand Down Expand Up @@ -176,7 +177,7 @@ export const removeRevisionFromEntryCache = (
): PbPageRevision[] => {
const gqlParams = {
query: GQL.GET_PAGE,
variables: { id: revision.id }
variables: { id: revision.pid }
};

const data = cache.readQuery(gqlParams);
Expand Down

0 comments on commit 989e824

Please sign in to comment.