diff --git a/LANCommander/Components/ArchiveBrowserDialog.razor b/LANCommander/Components/ArchiveBrowserDialog.razor new file mode 100644 index 0000000..e4fda74 --- /dev/null +++ b/LANCommander/Components/ArchiveBrowserDialog.razor @@ -0,0 +1,34 @@ + + + + Browse Archive + + + + + + + + + Cancel + + + +@code { + [CascadingParameter] MudDialogInstance MudDialog { get; set; } + [Parameter] public Guid ArchiveId { get; set; } + + protected override async Task OnInitializedAsync() + { + MudDialog.Options.MaxWidth = MaxWidth.Large; + MudDialog.Options.FullWidth = true; + MudDialog.Options.FullScreen = true; + + MudDialog.SetOptions(MudDialog.Options); + } + + private void Cancel() + { + MudDialog.Cancel(); + } +} \ No newline at end of file