Skip to content

Commit

Permalink
fix: respect relative media folder on field (StaticJsCMS#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaneFreeman authored Oct 31, 2023
1 parent 215cb21 commit d25281e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/lib/util/media.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export function selectMediaFolder<EF extends BaseField>(
: joinUrlPath(
collection && 'folder' in collection ? collection.folder : '',
DRAFT_MEDIA_FILES,
folder,
);
}
}
Expand Down

0 comments on commit d25281e

Please sign in to comment.