diff --git a/packages/ui-services/src/Import/Importer.ts b/packages/ui-services/src/Import/Importer.ts index 7abc9defd..66ed34093 100644 --- a/packages/ui-services/src/Import/Importer.ts +++ b/packages/ui-services/src/Import/Importer.ts @@ -54,10 +54,6 @@ export class Importer { return 'evernote' } - if (file.type === 'application/json' && this.superConverterService.isValidSuperString(content)) { - return 'super' - } - try { const json = JSON.parse(content) @@ -76,6 +72,10 @@ export class Importer { /* empty */ } + if (file.type === 'application/json' && this.superConverterService.isValidSuperString(content)) { + return 'super' + } + if (PlaintextConverter.isValidPlaintextFile(file)) { return 'plaintext' }