Page MenuHomePhabricator

D7683.id25919.diff
No OneTemporary

D7683.id25919.diff

diff --git a/native/redux/update-roles-and-permissions.js b/native/redux/update-roles-and-permissions.js
--- a/native/redux/update-roles-and-permissions.js
+++ b/native/redux/update-roles-and-permissions.js
@@ -37,6 +37,10 @@
children: parentThreadMap[nodeID]?.map(constructNodes) ?? null,
});
+ if (!parentThreadMap['root']) {
+ return [];
+ }
+
return parentThreadMap['root'].map(constructNodes);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 4:55 PM (19 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2398916
Default Alt Text
D7683.id25919.diff (423 B)

Event Timeline