mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
Combine view mode (#2959)
This commit is contained in:
@@ -213,7 +213,7 @@ export const Utils = {
|
||||
},
|
||||
|
||||
renameAncestorPath: function(path, ancestor, newAncestor) {
|
||||
return newAncestor + '/' + path.replace(ancestor, '');
|
||||
return path.replace(ancestor, newAncestor);
|
||||
},
|
||||
|
||||
joinPath: function(pathA, pathB) {
|
||||
|
Reference in New Issue
Block a user