mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
omnibox: update for new metadata
This commit is contained in:
parent
7e1a6ae541
commit
4bc7952d56
@ -114,7 +114,7 @@ export default function index(contacts, associations, apps, currentGroup, groups
|
||||
};
|
||||
|
||||
if (each['app-name'] === 'graph') {
|
||||
app = each.metadata.module;
|
||||
app = each.metadata.config.graph;
|
||||
}
|
||||
|
||||
const shipStart = each.resource.substr(each.resource.indexOf('~'));
|
||||
@ -128,7 +128,7 @@ export default function index(contacts, associations, apps, currentGroup, groups
|
||||
);
|
||||
landscape.push(obj);
|
||||
} else {
|
||||
const app = each.metadata.module || each['app-name'];
|
||||
const app = each.metadata.config.graph || each['app-name'];
|
||||
let group = each.group;
|
||||
if (groups[each.group]?.hidden && app === 'chat') {
|
||||
group = '/messages';
|
||||
|
Loading…
Reference in New Issue
Block a user