mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-22 20:42:24 +00:00
22 lines
532 B
C#
22 lines
532 B
C#
using Lantean.QBTMudBlade.Models;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Lantean.QBTMudBlade.Components
|
|
{
|
|
public partial class TorrentsListNav
|
|
{
|
|
[Inject]
|
|
protected NavigationManager NavigationManager { get; set; } = default!;
|
|
|
|
[Parameter]
|
|
public IEnumerable<Torrent>? Torrents { get; set; }
|
|
|
|
[Parameter]
|
|
public string? SelectedTorrent { get; set; }
|
|
|
|
protected void NavigateBack()
|
|
{
|
|
NavigationManager.NavigateTo("/");
|
|
}
|
|
}
|
|
} |