mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix on pagination
This commit is contained in:
parent
58954bf46f
commit
c7a71d35b0
|
@ -44,6 +44,10 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
|
|||
path = ""
|
||||
}
|
||||
|
||||
if len(entries) > 0 {
|
||||
lastFileName = entries[len(entries)-1].Name()
|
||||
}
|
||||
|
||||
args := struct {
|
||||
Path string
|
||||
Entries interface{}
|
||||
|
|
Loading…
Reference in a new issue