zek 14.2.58 → 14.2.59

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.
package/fesm2020/zek.mjs CHANGED
@@ -1840,7 +1840,7 @@ class BaseComponent extends CoreComponent {
1840
1840
  }
1841
1841
  get url() {
1842
1842
  if (!this._url)
1843
- this._url = this.router.url.split(';')[0];
1843
+ this._url = UrlHelper.getNoParam(this.router.url);
1844
1844
  return this._url;
1845
1845
  }
1846
1846
  getParam(name) {
@@ -2427,7 +2427,7 @@ class ListBaseComponent extends BaseComponent {
2427
2427
  this.bindModel();
2428
2428
  }
2429
2429
  create() {
2430
- const url = this.router.url.split(';')[0];
2430
+ const url = UrlHelper.getNoParam(this.router.url);
2431
2431
  this.router.navigate([url, 'create', { returnUrl: url + ';filter=1' }]);
2432
2432
  }
2433
2433
  async delete(id) {
@@ -4485,7 +4485,7 @@ class ListToolbarComponent {
4485
4485
  this.onRefresh.emit();
4486
4486
  }
4487
4487
  create() {
4488
- const url = this.router.url.split(';')[0];
4488
+ const url = UrlHelper.getNoParam(this.router.url);
4489
4489
  this.router.navigate([url, 'create', { returnUrl: url + ';filter=1' }]);
4490
4490
  }
4491
4491
  filter() {