@seafile/seafile-database 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,6 +124,6 @@ const getFileIconName = function (fileName) {
|
|
|
124
124
|
if (fileName.lastIndexOf('.') === -1) return FILEEXT_ICON_MAP['default'];
|
|
125
125
|
const file_ext = fileName.substr(fileName.lastIndexOf('.') + 1).toLowerCase();
|
|
126
126
|
if (FILEEXT_ICON_MAP[file_ext]) return FILEEXT_ICON_MAP[file_ext];
|
|
127
|
-
return
|
|
127
|
+
return FILEEXT_ICON_MAP['default'];
|
|
128
128
|
};
|
|
129
129
|
exports.getFileIconName = getFileIconName;
|