Skip to content

Commit 13ef913

Browse files
#25878 changed isRefetching to isFetching
1 parent a322ab5 commit 13ef913

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

plugins/navigate/index.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,15 @@ const generateLoader = (pluginId) => {
1818
};
1919

2020
export default function gridRenderHandler(
21-
{ contentType, contentObjects, pagination, isRefetching },
21+
{ contentType, contentObjects, isFetching },
2222
getPluginSettings,
2323
navigate,
2424
) {
2525
if (!getPluginSettings()) return;
2626
const settings = JSON.parse(getPluginSettings());
2727

28-
if (!pagination.current_page) return;
29-
3028
if (!settings.singleton_types.includes(contentType?.name)) return;
31-
if (isRefetching) return generateLoader();
29+
if (isFetching) return generateLoader();
3230

3331
const url = new URL(window.location.href);
3432

0 commit comments

Comments
 (0)