From d25281e3573bc4b1c8718412fb61a9196adb5afc Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Tue, 31 Oct 2023 12:01:12 -0400 Subject: [PATCH] fix: respect relative media folder on field (#965) --- packages/core/src/lib/util/media.util.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/lib/util/media.util.ts b/packages/core/src/lib/util/media.util.ts index 98b2c252..d6fa915c 100644 --- a/packages/core/src/lib/util/media.util.ts +++ b/packages/core/src/lib/util/media.util.ts @@ -254,6 +254,7 @@ export function selectMediaFolder( : joinUrlPath( collection && 'folder' in collection ? collection.folder : '', DRAFT_MEDIA_FILES, + folder, ); } }