From 2ad27e175c36c9de0aebd639958c34047b75c97b Mon Sep 17 00:00:00 2001 From: samherrington Date: Sat, 29 Sep 2018 18:25:00 -0500 Subject: [PATCH] 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. --- browser/components/NoteItem.js | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/browser/components/NoteItem.js b/browser/components/NoteItem.js index 5073dc73..600b7e2d 100644 --- a/browser/components/NoteItem.js +++ b/browser/components/NoteItem.js @@ -74,24 +74,22 @@ const NoteItem = ({ ? note.title : {i18n.__('Empty note')}} - {['ALL', 'STORAGE'].includes(viewType) && -
-
{dateDisplay}
-
-
- {viewType === 'ALL' && storageName} - {viewType === 'STORAGE' && folderName} -
+
+
{dateDisplay}
+
+
+ {viewType === 'ALL' && storageName} + {viewType === 'STORAGE' && folderName}
-
} - +
+
{note.tags.length > 0