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