fixed file
This commit is contained in:
+3
-1
@@ -116,7 +116,9 @@ export function normalizeFileResource(record: Record<string, any>): FileResource
|
|||||||
? record.src
|
? record.src
|
||||||
: typeof record.path === 'string'
|
: typeof record.path === 'string'
|
||||||
? record.path
|
? record.path
|
||||||
: undefined
|
: typeof record.storage_path === 'string'
|
||||||
|
? record.storage_path
|
||||||
|
: undefined
|
||||||
|
|
||||||
if (!src && !record.full_src) return null
|
if (!src && !record.full_src) return null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user