mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 19:00:12 +00:00
show correct file icon when upload file to system repo (#8296)
This commit is contained in:
@@ -135,6 +135,7 @@ class DirView extends Component {
|
||||
const fileObj = res.data[0];
|
||||
let newDirent = new Dirent({
|
||||
'is_file': true,
|
||||
'type': 'file',
|
||||
'obj_name': fileObj.name,
|
||||
'file_size': Utils.bytesToSize(fileObj.size),
|
||||
'last_update': (new Date()).getTime()
|
||||
|
Reference in New Issue
Block a user