fix: (regression 0.35.0) frontend: wrong message tapping timestamp on mobile

Massimo Melina committed Feb 22, 2023 at 06:43 UTC 68d3e8b4ad8d0b61166e2d6ceaea7a529295ea3e
1 file changed +1 -2
frontend/src/BrowseFiles.ts
+1 -2
@@ -215,10 +215,9 @@ const EntryProps = memo((entry: DirEntry & { midnight: Date }) => {
215 h(EntrySize, { s }),
216 time && h('span', {
217 className: 'entry-ts',
218 - title: today || !shortTs ? null : t.toLocaleString(),
218 onClick() { // mobile has no hover
219 if (shortTs)
221 - alertDialog(t`Full timestamp:` + "\n" + t.toLocaleString()).then()
220 + alertDialog(t`Full timestamp:` + "\n" + time.toLocaleString()).then()
221 }
222 }, !shortTs ? time.toLocaleString() : today ? time.toLocaleTimeString() : time.toLocaleDateString()),
223 )