halfway through localcourse transition

This commit is contained in:
2023-09-22 12:40:40 -06:00
parent c8ad67fd0b
commit e53222e35d
18 changed files with 152 additions and 50 deletions

View File

@@ -19,7 +19,7 @@
{
@* logger.LogInformation("here"); *@
planner.LocalCourse = course;
Navigation.NavigateTo("/course/" + course.Name);
Navigation.NavigateTo("/course/" + course.Settings.Name);
Console.WriteLine("navigated to course detail");
}
}
@@ -30,10 +30,10 @@
<h3>Stored Courses</h3>
@foreach (var course in localCourses)
{
var location = "/course/" + course.Name;
var location = "/course/" + course.Settings.Name;
<div>
<h4 class="m-3 hover-underline-animation" @onclick="(e) => handleClick(e, course)" role='button'>
@course.Name
@course.Settings.Name
</h4>
</div>