Compare commits
1 Commits
develop
...
1d04befff1
Author | SHA1 | Date | |
---|---|---|---|
1d04befff1
|
@ -8,7 +8,7 @@ let paths: string[]
|
||||
if (pathname === "/") {
|
||||
paths = ["~"]
|
||||
} else {
|
||||
paths = ["~", ...pathname.split("/").slice(1)]
|
||||
paths = ["~", ...pathname.split("/").filter(x => x)]
|
||||
}
|
||||
|
||||
function getLink(path: string): NavLink {
|
||||
|
Reference in New Issue
Block a user