mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove unused code & update log (#5194)
* chore: remove unused code & update log * chore: clippy * chore: log
This commit is contained in:
@ -408,14 +408,14 @@ impl IndexManager for FolderIndexManagerImpl {
|
||||
}
|
||||
|
||||
impl FolderIndexManager for FolderIndexManagerImpl {
|
||||
fn index_all_views(&self, views: Vec<View>, workspace_id: String) {
|
||||
fn index_all_views(&self, views: Vec<Arc<View>>, workspace_id: String) {
|
||||
let indexable_data = views
|
||||
.into_iter()
|
||||
.map(|view| IndexableData {
|
||||
id: view.id,
|
||||
data: view.name,
|
||||
icon: view.icon,
|
||||
layout: view.layout,
|
||||
id: view.id.clone(),
|
||||
data: view.name.clone(),
|
||||
icon: view.icon.clone(),
|
||||
layout: view.layout.clone(),
|
||||
workspace_id: workspace_id.clone(),
|
||||
})
|
||||
.collect();
|
||||
|
Reference in New Issue
Block a user