Этот коммит содержится в:
Yusuke Nemoto
2017-04-13 06:26:02 +09:00
коммит произвёл Corey Hulen
родитель 9b9788cf11
Коммит 0aa84799fd
4 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@@ -426,6 +426,10 @@ export function getFileType(extin) {
return 'patch';
}
if (Constants.SVG_TYPES.indexOf(ext) > -1) {
return 'svg';
}
return 'other';
}
@@ -449,7 +453,7 @@ export function getIconClassName(fileTypeIn) {
return Constants.ICON_NAME_FROM_TYPE[fileType];
}
return 'glyphicon-file';
return 'generic';
}
export function splitFileLocation(fileLocation) {