fix: respect relative media folder on field (#965)

This commit is contained in:
Daniel Lautzenheiser 2023-10-31 12:01:12 -04:00 committed by GitHub
parent 215cb21e89
commit d25281e357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,6 +254,7 @@ export function selectMediaFolder<EF extends BaseField>(
: joinUrlPath(
collection && 'folder' in collection ? collection.folder : '',
DRAFT_MEDIA_FILES,
folder,
);
}
}