commit | bd5129c18e679e45e4e8b44fa319e21b2b5cd209 | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Mon Aug 05 13:01:40 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Aug 05 13:01:40 2019 +0000 |
tree | 1675fddb61bd35bf74fc73e6635413b71f7535c4 | |
parent | b48a44e4a0f6515a0965d62a0672644af859ae6e [diff] | |
parent | 469be5e280c2edc9a3570bf5e4e69c811b4cf0da [diff] |
Merge "Add undefined check to gr-access-behavior"
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,