Skip to content

TagSpaces is an offline, open source, document manager with tagging support

hiding last modification date for folders

Ilian Sapundshiev77a6b87cc5b6
diff --git a/app/perspectives/grid-perspective/src/index.js b/app/perspectives/grid-perspective/src/index.js
index 3cb56d0f5..0ca31be3d 100644
--- a/app/perspectives/grid-perspective/src/index.js
+++ b/app/perspectives/grid-perspective/src/index.js
@@ -944,7 +944,7 @@ class GridPerspective extends React.Component<Props, State> {
formatDateTime(fsEntry.lmdt, true)
}
>
- {fsEntry.lmdt && '️ ' + moment(fsEntry.lmdt).fromNow() /* ⏲ */}
+ {fsEntry.isFile && fsEntry.lmdt && '️ ' + moment(fsEntry.lmdt).fromNow() /* ⏲ */}
</span>
<span title={i18n.t('core:entryDescription')}>
{description && ' - ' + description}