mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-21 15:28:13 +00:00
Update ocr-template-editor.component.ts
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -330,7 +330,7 @@ export class OcrTemplateEditorComponent
|
||||
})
|
||||
|
||||
const id = this.route.snapshot.paramMap.get('id')
|
||||
if (id && id !== 'new') {
|
||||
if (id) {
|
||||
this.isNew = false
|
||||
this.templateService
|
||||
.get(parseInt(id))
|
||||
|
||||
Reference in new issue
Block a user