diff --git a/web/src/FileTree.js b/web/src/FileTree.js
index e16ce0c..cff37f5 100644
--- a/web/src/FileTree.js
+++ b/web/src/FileTree.js
@@ -811,30 +811,40 @@ class FileTree extends React.Component {
{file.title}
-
- {Setting.getExtFromFile(file)}
-
+ {
+ !Conf.EnableExtraPages ? null : (
+
+ {Setting.getExtFromFile(file)}
+
+ )
+ }
{Setting.getFriendlyFileSize(file.size)}
{Setting.getFormattedDate(file.createdTime)}
-
- {Setting.getFormattedDate(Setting.getCollectedTime(file.title))}
- {
- this.setPropertyValue(file, "collectedTime", value.format());
- }} onOk={(value) => {}} />
-
-
-
-
+ {
+ !Conf.EnableExtraPages ? null : (
+
+
+ {Setting.getFormattedDate(Setting.getCollectedTime(file.title))}
+ {
+ this.setPropertyValue(file, "collectedTime", value.format());
+ }} onOk={(value) => {}} />
+
+
+
+
+
+ )
+ }
);
@@ -847,7 +857,7 @@ class FileTree extends React.Component {
filePaneHeight = 0;
}
- return `calc(100vh - ${filePaneHeight + 186}px)`;
+ return `calc(100vh - ${filePaneHeight + 186 - (Conf.EnableExtraPages ? 0 : 50)}px)`;
}
render() {