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

Display timestamp on all notes

Notes inside My Storage did not display timestamp of last edit,
this commit makes the timestamp consistent across all notes in
all locations.
This commit is contained in:
samherrington
2018-09-29 18:25:00 -05:00
parent 03b8dbbc44
commit 2ad27e175c

View File

@@ -74,7 +74,6 @@ const NoteItem = ({
? note.title ? note.title
: <span styleName='item-title-empty'>{i18n.__('Empty note')}</span>} : <span styleName='item-title-empty'>{i18n.__('Empty note')}</span>}
</div> </div>
{['ALL', 'STORAGE'].includes(viewType) &&
<div styleName='item-middle'> <div styleName='item-middle'>
<div styleName='item-middle-time'>{dateDisplay}</div> <div styleName='item-middle-time'>{dateDisplay}</div>
<div styleName='item-middle-app-meta'> <div styleName='item-middle-app-meta'>
@@ -90,8 +89,7 @@ const NoteItem = ({
{viewType === 'STORAGE' && folderName} {viewType === 'STORAGE' && folderName}
</div> </div>
</div> </div>
</div>} </div>
<div styleName='item-bottom'> <div styleName='item-bottom'>
<div styleName='item-bottom-tagList'> <div styleName='item-bottom-tagList'>
{note.tags.length > 0 {note.tags.length > 0