Get rid of absurd alert

This commit is contained in:
shamoon
2026-06-28 12:36:54 -07:00
parent 20a855444b
commit 1b7c0af22e
@@ -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
)
},
})
}