refactor: fetch all select options from field type option instead of cell (#5122)

* refactor: fetch all options from type option

* chore: rustfmt

* ci: fix rust ci

* chore: fix clippy
This commit is contained in:
Richard Shiue
2024-04-13 01:08:47 +08:00
committed by GitHub
parent 0ebcca63bb
commit 891fd16a0c
10 changed files with 74 additions and 73 deletions

View File

@ -170,7 +170,7 @@ impl FolderIndexManagerImpl {
Ok(writer) => Ok(writer),
Err(e) => {
tracing::error!("FolderIndexManager failed to lock index writer: {:?}", e);
return Err(FlowyError::folder_index_manager_unavailable());
Err(FlowyError::folder_index_manager_unavailable())
},
},
None => Err(FlowyError::folder_index_manager_unavailable()),