diff --git a/Web-Jarmark/Web-Jarmark/Components/Layout/Admin/AdminLayout.razor b/Web-Jarmark/Web-Jarmark/Components/Layout/Admin/AdminLayout.razor index 416bdf3..fc2eef0 100644 --- a/Web-Jarmark/Web-Jarmark/Components/Layout/Admin/AdminLayout.razor +++ b/Web-Jarmark/Web-Jarmark/Components/Layout/Admin/AdminLayout.razor @@ -1,34 +1,9 @@ -@inherits LayoutComponentBase + +@inherits LayoutComponentBase @implements IDisposable @inject NavigationManager Nav -
- - +
@SectionTitle
@@ -45,7 +20,6 @@
@code { - private bool collapsed; private string SectionTitle = "Přehled"; protected override void OnInitialized() @@ -79,7 +53,8 @@ }; } - private void Toggle() => collapsed = !collapsed; - - public void Dispose() => Nav.LocationChanged -= OnLocationChanged; -} \ No newline at end of file + public void Dispose() + { + Nav.LocationChanged -= OnLocationChanged; + } +} diff --git a/Web-Jarmark/Web-Jarmark/Components/Layout/NavMenu.razor b/Web-Jarmark/Web-Jarmark/Components/Layout/NavMenu.razor index 575d004..4a40396 100644 --- a/Web-Jarmark/Web-Jarmark/Components/Layout/NavMenu.razor +++ b/Web-Jarmark/Web-Jarmark/Components/Layout/NavMenu.razor @@ -25,11 +25,7 @@
- +