Skip to content

Commit

Permalink
Merge pull request #53 from dev-ptera/feat/2.6.1
Browse files Browse the repository at this point in the history
2.6.1
  • Loading branch information
dev-ptera authored Jul 22, 2023
2 parents d139a40 + 84c7394 commit dda95a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## v2.6.1 (July 22, 2023)

### Fixed

- Update account page to ignore anchor tags from URL.

## v2.6.0 (June 28, 2023)

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yellow-spyglass-client",
"version": "2.6.0",
"version": "2.6.1",
"scripts": {
"ng": "ng",
"start": "ng serve -c development --open --host 0.0.0.0",
Expand Down
4 changes: 3 additions & 1 deletion src/app/pages/account/account.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export class AccountComponent implements OnDestroy {
this.routeListener = this._router.events.subscribe((route) => {
if (route instanceof NavigationEnd) {
const splitUrl = this._router.url.replace('/history', '').split('/');
this._searchAccount(splitUrl[splitUrl.length - 1]);
const path = splitUrl[splitUrl.length - 1];
const address = path.substring(0, 64);
this._searchAccount(address);
}
});

Expand Down

0 comments on commit dda95a2

Please sign in to comment.