mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
repo share admin (#5596)
* repo share admin * check share_to param * [repo 'share admin' dialog] removed 'internal links'; fixup & improvements --------- Co-authored-by: llj <lingjun.li1@gmail.com>
This commit is contained in:
@@ -277,7 +277,7 @@ export const Utils = {
|
||||
if (path === '/') {
|
||||
return path;
|
||||
}
|
||||
path = path[path.length - 1] !== '/' ? path : path.slice(0, path.length -2);
|
||||
path = path[path.length - 1] !== '/' ? path : path.slice(0, path.length - 1);
|
||||
return path.slice(path.lastIndexOf('/') + 1);
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user