Skip to content

Commit f3501ac

Browse files
committed
add todo
1 parent c27b0db commit f3501ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/web/Client/Pages/Profile/PublicProfile.razor

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@
1414
{
1515
return;
1616
}
17+
1718
<MetadataComponent Title="@($"{UserName}'s profil")"
1819
Description="@($"Beskrivelse af {UserName}:\n {_profile?.Description}")"
1920
Image="@_profile?.ProfilePictureUrl" />
2021
2122
<MudFab StartIcon="@Icons.Material.Filled.ArrowBack" Class="mb-5" Color="Color.Primary" OnClick="GoBack" />
2223
24+
@*
25+
TODO: This button should open a popup that starts a chat with the person when the message is sent
26+
*@
27+
<MudButton EndIcon="@Icons.Material.Filled.Message">Send Besked</MudButton>
28+
2329
<MudPaper Elevation="1" Class="pa-4">
2430
<MudGrid>
2531
<MudItem xs="12">
@@ -77,7 +83,6 @@
7783
_profile = response.Content;
7884
break;
7985
case HttpStatusCode.NotFound:
80-
_profile = null;
8186
break;
8287
case HttpStatusCode.TooManyRequests:
8388
Snackbar.Add(ErrorMessages.High_Load, Severity.Info);

0 commit comments

Comments
 (0)