Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/change edit button to a in admin market data page (#3164)

Thomas Kaul61ecd15f1d58
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4407847581..2dc8cc0ae5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Moved the support to grant private access with permissions from experimental to general availability
+- Improved the usability to edit market data in the admin control panel
## 2.64.0 - 2024-03-16
diff --git a/apps/client/src/app/components/admin-market-data/admin-market-data.html b/apps/client/src/app/components/admin-market-data/admin-market-data.html
index a91b05bccb..83e7f7533b 100644
--- a/apps/client/src/app/components/admin-market-data/admin-market-data.html
+++ b/apps/client/src/app/components/admin-market-data/admin-market-data.html
@@ -161,20 +161,20 @@
<ion-icon name="ellipsis-horizontal" />
</button>
<mat-menu #assetProfileActionsMenu="matMenu" xPosition="before">
- <button
+ <a
mat-menu-item
- (click)="
- onOpenAssetProfileDialog({
- dataSource: element.dataSource,
- symbol: element.symbol
- })
- "
+ [queryParams]="{
+ assetProfileDialog: true,
+ dataSource: element.dataSource,
+ symbol: element.symbol
+ }"
+ [routerLink]="[]"
>
<span class="align-items-center d-flex">
<ion-icon class="mr-2" name="create-outline" />
<span i18n>Edit</span>
</span>
- </button>
+ </a>
<button
mat-menu-item
[disabled]="element.activitiesCount !== 0"