Commit dc2f94f6 authored by Boris Kocherov's avatar Boris Kocherov

support delete_path_part for scopes

parent 32da2ce4
......@@ -358,6 +358,9 @@
if (context._paths.hasOwnProperty(i)) {
size++;
if (path.startsWith(i)) {
if (context._paths[i].delete_path_part) {
path = path.replace(context._paths[i].delete_path_part, "");
}
if (context._paths[i].prefix) {
path = context._paths[i].prefix + path;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment