@osovitny/anatoly 3.20.33 → 3.20.34

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.
@@ -1355,9 +1355,6 @@ class GoServiceBase {
1355
1355
  this.isDevMode = IsDevMode;
1356
1356
  this.currentApp = getCurrentApp();
1357
1357
  }
1358
- getHomeUrl() {
1359
- return this.currentApp.root;
1360
- }
1361
1358
  navigate(commands, extras, reload = false) {
1362
1359
  this.router.navigate(commands, extras).then(() => {
1363
1360
  if (reload) {
@@ -1365,14 +1362,17 @@ class GoServiceBase {
1365
1362
  }
1366
1363
  });
1367
1364
  }
1368
- homeReload() {
1369
- window.location.href = "/";
1365
+ getHomeUrl() {
1366
+ return this.currentApp.root;
1370
1367
  }
1371
1368
  locationReload() {
1372
1369
  window.location.reload();
1373
1370
  }
1374
- home() {
1375
- this.router.navigate([this.currentApp.root]);
1371
+ home(reload = false) {
1372
+ this.navigate([this.currentApp.root], {}, reload);
1373
+ }
1374
+ dashboard(reload = false) {
1375
+ this.navigate([this.currentApp.root + '/dashboard'], {}, reload);
1376
1376
  }
1377
1377
  //Accounts
1378
1378
  accountClosed() {