Skip to content

Commit

Permalink
Merge pull request #2436 from jacobherrington/bug-missing-relative-ti…
Browse files Browse the repository at this point in the history
…mestamp-inside-storages

Display timestamp on all notes
  • Loading branch information
Rokt33r authored Sep 30, 2018
2 parents a39a856 + 2ad27e1 commit 10a1104
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions browser/components/NoteItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,22 @@ const NoteItem = ({
? note.title
: <span styleName='item-title-empty'>{i18n.__('Empty note')}</span>}
</div>
{['ALL', 'STORAGE'].includes(viewType) &&
<div styleName='item-middle'>
<div styleName='item-middle-time'>{dateDisplay}</div>
<div styleName='item-middle-app-meta'>
<div
title={
viewType === 'ALL'
? storageName
: viewType === 'STORAGE' ? folderName : null
}
styleName='item-middle-app-meta-label'
>
{viewType === 'ALL' && storageName}
{viewType === 'STORAGE' && folderName}
</div>
<div styleName='item-middle'>
<div styleName='item-middle-time'>{dateDisplay}</div>
<div styleName='item-middle-app-meta'>
<div
title={
viewType === 'ALL'
? storageName
: viewType === 'STORAGE' ? folderName : null
}
styleName='item-middle-app-meta-label'
>
{viewType === 'ALL' && storageName}
{viewType === 'STORAGE' && folderName}
</div>
</div>}

</div>
</div>
<div styleName='item-bottom'>
<div styleName='item-bottom-tagList'>
{note.tags.length > 0
Expand Down

0 comments on commit 10a1104

Please sign in to comment.