Remove modal in checkUploadFile()
This commit is contained in:
parent
2bcc40a312
commit
9e9888d002
|
@ -103,12 +103,14 @@ class FileTree extends React.Component {
|
|||
}
|
||||
|
||||
checkUploadFile(info) {
|
||||
if (Conf.EnableExtraPages) {
|
||||
for (let i = 0; i < info.fileList.length; i++) {
|
||||
const filename = info.fileList[i].name;
|
||||
if (this.getCacheApp(filename) === "" && filename.endsWith(".txt")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue