mirror of https://github.com/halo-dev/halo
主题文件列表排序
parent
adabcedb5a
commit
7c3d795cd4
|
@ -349,8 +349,8 @@ public class ThemeServiceImpl implements ThemeService {
|
|||
themeFiles.add(themeFile);
|
||||
});
|
||||
|
||||
// Sort with name
|
||||
themeFiles.sort(Comparator.comparing(ThemeFile::getName));
|
||||
// Sort with isFile param
|
||||
themeFiles.sort(Comparator.comparing(ThemeFile::getIsFile));
|
||||
|
||||
return themeFiles;
|
||||
} catch (IOException e) {
|
||||
|
|
Loading…
Reference in New Issue