mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Add filtering to folder select (#4277)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user