Fix: show specific field media files in library, cascade folder templates (#3252)

* feat: cascade & compose media folders - initial commit

* refactor: code cleanup

* fix: pass field instead of folder to getAsset

* fix: only show field media files in library

* test: fix medial library selector test

* fix: fallback to original path when asset not found

* fix: only show field media files in media library

* fix: properly handle empty strings in field folders
This commit is contained in:
Erez Rokah
2020-02-14 22:31:33 +02:00
committed by GitHub
parent 8d67de0e68
commit 02ef2010e7
22 changed files with 565 additions and 243 deletions

View File

@ -18,7 +18,6 @@ export interface ImplementationMediaFile {
draft?: boolean;
url?: string;
file?: File;
folder?: string;
}
export interface UnpublishedEntryMediaFile {