From a30d50268400cdd64d04ad6a869f3e99a6debc99 Mon Sep 17 00:00:00 2001 From: "Mizuho Sakamaki (gxp)_AGDC" Date: Tue, 14 Nov 2017 14:26:16 +0900 Subject: [PATCH] issues #2 --- src/app/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/model.ts b/src/app/model.ts index c0c01b3..43b7cb2 100644 --- a/src/app/model.ts +++ b/src/app/model.ts @@ -91,7 +91,7 @@ export class OmnixlfFileWithData extends OmnixlfFile { const note = transUnit.note || []; let hint = note.length > 0 ? note[0] : ''; let context = note.length > 1 ? note[1] : ''; - let target = transUnit.target[0]; + let target = (transUnit.target || [])[0]; let source = transUnit.source[0]; if (target) {