feat(admin): remove '前台' nav item from admin header
This commit is contained in:
parent
26eb62c2ae
commit
6d621d9ec4
@ -53,11 +53,6 @@ pub fn AdminLayout() -> Element {
|
|||||||
label: "管理文章",
|
label: "管理文章",
|
||||||
is_active: matches!(route, Route::Posts {}),
|
is_active: matches!(route, Route::Posts {}),
|
||||||
},
|
},
|
||||||
NavItemConfig {
|
|
||||||
route: Route::Home {},
|
|
||||||
label: "前台",
|
|
||||||
is_active: false,
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
let right_content = rsx! {
|
let right_content = rsx! {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user