We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28c337 commit 0988c41Copy full SHA for 0988c41
WebFrontend/Pages/NewPortfolio.razor
@@ -6,6 +6,7 @@
6
@inject IPortfolioService PortfolioService
7
@inject IMatDialogService MatDialogService
8
@inject IMatToaster Toaster
9
+@inject Microsoft.AspNetCore.Components.NavigationManager NavigationManager
10
11
12
<style>
@@ -78,7 +79,7 @@
78
79
</MatCardContent>
80
<MatCardActions>
81
<MatCardActionButtons>
- <MatButton>View</MatButton>
82
+ <MatButton OnClick='() => { NavigationManager.NavigateTo($"newportfolioentry/{portfolio.Id}");}'>View</MatButton>
83
</MatCardActionButtons>
84
85
<MatCardActionIcons>
@@ -92,7 +93,6 @@
92
93
{
94
<MatSubtitle2>No portfolios found</MatSubtitle2>
95
}
-
96
</div>
97
98
0 commit comments