UX: Put the HR in the correct place

This commit is contained in:
Robin Ward 2018-01-09 17:48:52 -05:00
parent 8f21c96ea5
commit 3ed9cbc040
2 changed files with 5 additions and 2 deletions

View File

@ -131,6 +131,10 @@ export default createWidget('user-menu', {
this.attach('user-notifications', { path })
];
if (this.settings.showLogoutButton || this.state.hasUnread) {
result.push(h('hr.bottom-area'));
}
if (this.settings.showLogoutButton) {
result.push(
h('div.logout-link', [

View File

@ -86,8 +86,7 @@ export default createWidget('user-notifications', {
icon: 'chevron-down',
action: 'showAllNotifications',
className: 'btn'
})),
h('hr')
}))
);
}