mirror of
https://github.com/docmost/docmost.git
synced 2026-10-04 05:43:45 +10:00
minor fixes
This commit is contained in:
@@ -465,7 +465,7 @@ export class ImportAttachmentService {
|
||||
};
|
||||
|
||||
const resolveSource = (raw?: string): ResolvedFile | null => {
|
||||
const src = raw.trim()
|
||||
const src = raw?.trim()
|
||||
if (src.toLowerCase().startsWith('data:')) {
|
||||
return resolveEmbeddedFile(src);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user