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 e949a870fb..499970ed3e 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 @@ limitations under the License. * object. */ toSortedArray(obj) { + if (!obj) { return []; } return Object.keys(obj).map(key => { return { id: key,