Add undefined check to gr-access-behavior

Change-Id: Ifbea06190478c56d1fb059b266ad4ecb21b4ee12
This commit is contained in:
Paladox none
2019-07-29 19:59:39 +00:00
parent b4739721d3
commit 469be5e280

View File

@@ -142,6 +142,7 @@ limitations under the License.
* object.
*/
toSortedArray(obj) {
if (!obj) { return []; }
return Object.keys(obj).map(key => {
return {
id: key,