Get rid of absurd alert

This commit is contained in:
shamoon
2026-09-09 12:43:11 -07:00
parent 4da311f91f
commit 1ef5a6d3cf
@@ -966,7 +966,10 @@ export class OcrTemplateEditorComponent implements OnInit, OnDestroy {
})
},
error: (err) => {
alert(err.error?.error || 'Failed to create custom field')
this.toastService.showError(
$localize`Failed to create custom field.`,
err
)
},
})
}