diff --git a/record-editor/src/app/shared/components/extract-actions/ref-extract-actions.component.ts b/record-editor/src/app/shared/components/extract-actions/ref-extract-actions.component.ts index c8741c154..a62d99466 100644 --- a/record-editor/src/app/shared/components/extract-actions/ref-extract-actions.component.ts +++ b/record-editor/src/app/shared/components/extract-actions/ref-extract-actions.component.ts @@ -79,16 +79,8 @@ export class RefExtractActionsComponent { }); } - get sourceType(): 'text' | 'url' | 'xml' { + get sourceType(): 'text' | 'url' { const isUrl = this.source.startsWith('http') && this.source.length < 2048; - if (isUrl) { - return 'url'; - } - - const isXml = this.source.startsWith('