diff --git a/src/ui/components/left_panel.rs b/src/ui/components/left_panel.rs index 8e543887e..2f89e17b4 100644 --- a/src/ui/components/left_panel.rs +++ b/src/ui/components/left_panel.rs @@ -75,6 +75,10 @@ pub fn add_left_panel( .show(ctx, |ui| { ui.vertical_centered(|ui| { for (label, screen_type, icon_path) in buttons.iter() { + if *screen_type == RootScreenType::RootScreenDocumentQuery { + continue; // Skip rendering the document button for now + } + let texture: Option = load_icon(ctx, icon_path); let is_selected = selected_screen == *screen_type; let button_color = if is_selected {