@brggroup/share-lib 0.0.27 → 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.
@@ -358,9 +358,9 @@ class NotiService {
358
358
  nzContent: errorMsg,
359
359
  nzWidth: '40vw',
360
360
  nzClosable: false,
361
- nzOkText: 'Đóng',
362
- nzCancelText: 'Chi tiết',
363
- nzOnCancel: () => {
361
+ nzCancelText: 'Đóng',
362
+ nzOkText: 'Chi tiết',
363
+ nzOnOk: () => {
364
364
  modalRef.destroy();
365
365
  this.modal.error({
366
366
  nzTitle: 'Chi tiết lỗi',
@@ -817,9 +817,12 @@ class BaseComponent {
817
817
  getUrlData(key) {
818
818
  return this.route.snapshot.data[key];
819
819
  }
820
- getCurrentUrl() {
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
  }