assets without objects

This commit is contained in:
2025-11-20 02:32:11 +01:00
parent 0eb4c0a294
commit 78e6d3e431
6 changed files with 59 additions and 139 deletions
@@ -1025,7 +1025,7 @@ const useDocumentsWorkspace = ({
const ensureAssetUrl = useCallback(
async (documentId, asset, { force = false, start = null, limit = null } = {}) => {
async (documentId, asset, { force = false } = {}) => {
if (!documentId || !asset?.id) {
return null;
}
@@ -1033,8 +1033,6 @@ const useDocumentsWorkspace = ({
try {
const entry = await assetManager.ensureAsset(documentId, asset, {
force,
start,
limit,
});
if (!entry) {