not working

This commit is contained in:
filipriec
2025-03-23 12:30:00 +01:00
parent 993febd204
commit 13d501e6d7
4 changed files with 163 additions and 179 deletions

View File

@@ -17,6 +17,8 @@ pub struct AppState {
pub current_position: u64,
pub profile_tree: ProfileTreeResponse,
pub selected_profile: Option<String>,
pub admin_selected_item: usize, // Tracks selection in admin panel
pub admin_profiles: Vec<String>, // Stores admin panel data
// UI preferences
pub ui: UiState,
@@ -33,6 +35,8 @@ impl AppState {
current_position: 0,
profile_tree: ProfileTreeResponse::default(),
selected_profile: None,
admin_selected_item: 0,
admin_profiles: Vec::new(),
ui: UiState::default(),
})
}