admin page being rendered properly well now
This commit is contained in:
@@ -411,7 +411,7 @@ pub async fn run_ui() -> Result<()> {
|
||||
if let Page::Admin(current) = &router.current {
|
||||
admin_state = current.clone();
|
||||
}
|
||||
info!("Active view is Admin, refreshing profile tree...");
|
||||
info!("Auth role at render: {:?}", auth_state.role);
|
||||
match grpc_client.get_profile_tree().await {
|
||||
Ok(refreshed_tree) => {
|
||||
app_state.profile_tree = refreshed_tree;
|
||||
@@ -757,6 +757,7 @@ pub async fn run_ui() -> Result<()> {
|
||||
¤t_dir,
|
||||
current_fps,
|
||||
&app_state,
|
||||
&auth_state,
|
||||
);
|
||||
})
|
||||
.context("Terminal draw call failed")?;
|
||||
|
||||
Reference in New Issue
Block a user