@brggroup/share-lib 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -817,9 +817,12 @@ class BaseComponent {
|
|
|
817
817
|
getUrlData(key) {
|
|
818
818
|
return this.route.snapshot.data[key];
|
|
819
819
|
}
|
|
820
|
-
|
|
820
|
+
get url() {
|
|
821
821
|
return this.router.url;
|
|
822
822
|
}
|
|
823
|
+
get urlPath() {
|
|
824
|
+
return this.router.url.split('?')[0];
|
|
825
|
+
}
|
|
823
826
|
handleError(err) {
|
|
824
827
|
this.notiService.handleError(err);
|
|
825
828
|
}
|