Skip to content

Commit fd0a051

Browse files
committed
Skip syncing for "synthetic" templates
1 parent 4956690 commit fd0a051

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core-data/src/resolvers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
getUserPermissionsFromAllowHeader,
2424
ALLOWED_RESOURCE_ACTIONS,
2525
RECEIVE_INTERMEDIATE_RESULTS,
26+
isNumericID,
2627
} from './utils';
2728
import { fetchBlockPatterns } from './fetch';
2829

@@ -157,6 +158,7 @@ export const getEntityRecord =
157158
if (
158159
window.__experimentalEnableSync &&
159160
entityConfig.syncConfig &&
161+
isNumericID( key ) &&
160162
! query
161163
) {
162164
if ( globalThis.IS_GUTENBERG_PLUGIN ) {

0 commit comments

Comments
 (0)