mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 07:06:41 +03:00
Omnibox: Add Messages to results
This commit is contained in:
parent
eb082decf3
commit
cefa80cee5
@ -75,6 +75,7 @@ const otherIndex = function() {
|
|||||||
other.push(result('My Channels', '/~landscape/home', 'home', null));
|
other.push(result('My Channels', '/~landscape/home', 'home', null));
|
||||||
other.push(result('Notifications', '/~notifications', 'inbox', null));
|
other.push(result('Notifications', '/~notifications', 'inbox', null));
|
||||||
other.push(result('Profile and Settings', `/~profile/~${window.ship}`, 'profile', null));
|
other.push(result('Profile and Settings', `/~profile/~${window.ship}`, 'profile', null));
|
||||||
|
other.push(result('Messages', '/~landscape/messages', 'messages', null));
|
||||||
other.push(result('Log Out', '/~/logout', 'logout', null));
|
other.push(result('Log Out', '/~/logout', 'logout', null));
|
||||||
|
|
||||||
return other;
|
return other;
|
||||||
|
@ -56,6 +56,8 @@ export class OmniboxResult extends Component {
|
|||||||
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Home' mr='2' size='18px' color={iconFill} />;
|
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Home' mr='2' size='18px' color={iconFill} />;
|
||||||
} else if (icon === 'notifications') {
|
} else if (icon === 'notifications') {
|
||||||
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Inbox' mr='2' size='18px' color={iconFill} />;
|
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Inbox' mr='2' size='18px' color={iconFill} />;
|
||||||
|
} else if (icon === 'messages') {
|
||||||
|
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Users' mr='2' size='18px' color={iconFill} />;
|
||||||
} else {
|
} else {
|
||||||
graphic = <Icon display='inline-block' icon='NullIcon' verticalAlign="middle" mr='2' size="16px" color={iconFill} />;
|
graphic = <Icon display='inline-block' icon='NullIcon' verticalAlign="middle" mr='2' size="16px" color={iconFill} />;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user