Skip to content

Commit 9c9aaeb

Browse files
committed
Make more robust for invalid responses #8
1 parent 2228a94 commit 9c9aaeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webextensions/dialog/IssueEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export class IssueEditor {
282282
}
283283

284284
initSelect(field, items, itemTranslator) {
285-
if (!field)
285+
if (!field || !items)
286286
return;
287287

288288
const oldValue = field.value;

0 commit comments

Comments
 (0)