add breadcrumb to filer UI

This commit is contained in:
Chris Lu
2018-05-24 23:42:13 -07:00
parent a01557f4cb
commit f8776ad5cd
4 changed files with 37 additions and 4 deletions

View File

@@ -52,12 +52,14 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
args := struct {
Path string
Breadcrumbs []ui.Breadcrumb
Entries interface{}
Limit int
LastFileName string
ShouldDisplayLoadMore bool
}{
path,
ui.ToBreadcrumb(path),
entries,
limit,
lastFileName,