[CHANGE] Adding playlist functionality

This commit is contained in:
max
2025-11-02 21:43:06 +01:00
parent a849b7524d
commit 3d20c116da
4 changed files with 34 additions and 2 deletions

View File

@@ -13,5 +13,5 @@
<MudTextField Label="Video id" @bind-Value="@_videoId"/>
</MudStack>
<MudStack>
<MudButton OnClick="GetDataAsync">Get data</MudButton>
<MudButton OnClick="NavigateToVideo">Get data</MudButton>
</MudStack>

View File

@@ -16,7 +16,7 @@ public partial class DevelopmentVideo : ComponentBase
return !searchResults.IsSuccess ? [] : searchResults.Value;
}
private async Task GetDataAsync(MouseEventArgs obj)
private void NavigateToVideo(MouseEventArgs obj)
{
if (_selectedClient == null)
{