solve fixedfilter issue

This commit is contained in:
lotte
2019-07-22 16:11:42 +02:00
parent a8d9d74818
commit 1530d7f3d1
19 changed files with 84 additions and 49 deletions

View File

@@ -0,0 +1,6 @@
import { Router } from '@angular/router';
export function currentPath(router: Router) {
const urlTree = router.parseUrl(router.url);
return '/' + urlTree.root.children['primary'].segments.map(it => it.path).join('/')
}