mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
View repo content in list mode (#2579)
This commit is contained in:
@@ -65,6 +65,9 @@ class Node {
|
||||
}
|
||||
|
||||
isMarkdown() {
|
||||
if (this.isDir()) {
|
||||
return false;
|
||||
}
|
||||
let index = this.name.lastIndexOf('.');
|
||||
if (index == -1) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user