removed assets limits in assets queries

This commit is contained in:
Dmitri 2026-06-25 13:23:25 +02:00
parent 130c11bfa1
commit 9802a1d131
2 changed files with 2 additions and 4 deletions

View File

@ -72,9 +72,7 @@ export function useConstructorData({
const pagesQuery = usePagesQuery(enabled ? projectId : undefined, 'dev');
// Fetch assets
const assetsQuery = useAssetsQuery(enabled ? projectId : undefined, {
limit: 500,
});
const assetsQuery = useAssetsQuery(enabled ? projectId : undefined);
// Fetch element defaults
const elementDefaultsQuery = useElementDefaultsQuery(

View File

@ -107,7 +107,7 @@ const AssetsTablesPage = () => {
if (!projectId) return;
dispatch(
fetchAssets({
query: `?limit=500&page=0&sort=desc&field=createdAt&projectId=${projectId}`,
query: `?page=0&sort=desc&field=createdAt&projectId=${projectId}`,
}),
);
},