Add filtering to folder select (#4277)

This commit is contained in:
InfiniteStash
2023-11-20 03:00:28 +01:00
committed by GitHub
parent 61f4d8bd12
commit a0f33e3dab
10 changed files with 120 additions and 85 deletions

View File

@@ -50,7 +50,7 @@ func getDir(path string) string {
}
func getParent(path string) *string {
isRoot := path[len(path)-1:] == "/"
isRoot := path == "/"
if isRoot {
return nil
} else {