1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Fix note list UI

This commit is contained in:
Kazu Yokomizo
2018-03-12 22:14:06 +09:00
parent f53c182cfb
commit 5ed5950ed5
2 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ const NoteItem = ({
{note.isStarred
? <img styleName='item-star' src='../resources/icon/icon-starred.svg' /> : ''
}
{note.isPinned && !pathname.match(/\/home|\/starred|\/trash/)
{note.isPinned && !pathname.match(/\/starred|\/trash/)
? <i styleName='item-pin' className='fa fa-thumb-tack' /> : ''
}
{note.type === 'MARKDOWN_NOTE'