improved new file experience

This commit is contained in:
2023-07-31 16:45:11 -06:00
parent 12c323e874
commit 31bb39dcea
6 changed files with 28 additions and 11 deletions

View File

@@ -5,11 +5,14 @@
@code
{
[Parameter]
public int RefreshKey { get; set; }
public IEnumerable<LocalCourse>? localCourses { get; set; }
protected override async Task OnInitializedAsync()
protected override async Task OnParametersSetAsync()
{
localCourses = await yamlManager.LoadSavedCourses();
}
}
@if(localCourses != null)