mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
minor layout fixes
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
@inject YamlManager yamlManager
|
||||
@inject CanvasService canvas
|
||||
@inject CoursePlanner planner
|
||||
@inject NavigationManager navigtion
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
@@ -30,6 +31,12 @@
|
||||
loading = false;
|
||||
}
|
||||
|
||||
private void selectNewCourse()
|
||||
{
|
||||
planner.Clear();
|
||||
navigtion.NavigateTo("/");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@if(loading)
|
||||
@@ -42,7 +49,7 @@
|
||||
<div class="mb-3 d-flex justify-content-between" style="height: 4em;">
|
||||
<div class="my-auto">
|
||||
<button
|
||||
@onclick="planner.Clear"
|
||||
@onclick="selectNewCourse"
|
||||
class="btn btn-primary"
|
||||
>
|
||||
Select New Course
|
||||
|
||||
Reference in New Issue
Block a user