feat(flash-file): expose cover URL as flash_file.thumb
Incoming flash cards already carry a cover link; map it to flash_file.data.thumb. Older cards without a cover leave it empty. Fixes #367
This commit is contained in:
7 files changed
+48
-7
No files matched your search
@@ -478,6 +478,7 @@ export const ELEMENT_CODECS = {
|
||||
title: element.fileName ?? '',
|
||||
file_set_id: element.filesetId ?? '',
|
||||
scene_type: element.sceneType ?? 0,
|
||||
thumb: element.thumbUrl ?? '',
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user