mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
omnibox: add maybe operators
This commit is contained in:
parent
87feb74184
commit
27e5a6aef4
@ -102,7 +102,7 @@ export default function index(contacts, associations, apps, currentGroup, groups
|
||||
}).map((e) => {
|
||||
// iterate through each app's metadata object
|
||||
Object.keys(associations[e])
|
||||
.filter((association) => !associations[e][association].metadata.hidden)
|
||||
.filter((association) => !associations?.[e]?.[association]?.metadata?.hidden)
|
||||
.map((association) => {
|
||||
const each = associations[e][association];
|
||||
let title = each.resource;
|
||||
|
Loading…
Reference in New Issue
Block a user