assets without objects
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user