commit | 469be5e280c2edc9a3570bf5e4e69c811b4cf0da | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Mon Jul 29 19:59:39 2019 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Thu Aug 01 13:04:37 2019 +0000 |
tree | 4063d0898079383ab8d7b2b90da3c60f93100dec | |
parent | b4739721d3efccf2d57706c0cacad96256e4f042 [diff] |
Add undefined check to gr-access-behavior Change-Id: Ifbea06190478c56d1fb059b266ad4ecb21b4ee12
diff --git a/polygerrit-ui/app/behaviors/gr-access-behavior/gr-access-behavior.html b/polygerrit-ui/app/behaviors/gr-access-behavior/gr-access-behavior.html index e949a87..499970e 100644 --- a/polygerrit-ui/app/behaviors/gr-access-behavior/gr-access-behavior.html +++ b/polygerrit-ui/app/behaviors/gr-access-behavior/gr-access-behavior.html
@@ -142,6 +142,7 @@ * object. */ toSortedArray(obj) { + if (!obj) { return []; } return Object.keys(obj).map(key => { return { id: key,