not working
This commit is contained in:
@@ -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(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user