fix: reorder view when sibling view was deleted (#2724)

* fix: reorder view when sibling view was deleted

* ci: fix test

* ci: rust fmt
This commit is contained in:
Nathan.fooo
2023-06-07 00:05:27 +08:00
committed by GitHub
parent e3eee76609
commit 381d2e6c71
13 changed files with 248 additions and 83 deletions

View File

@ -84,7 +84,6 @@ impl DatabaseManager2 {
self.get_database(&database_id).await
}
#[tracing::instrument(level = "debug", skip(self), err)]
pub async fn get_database_id_with_view_id(&self, view_id: &str) -> FlowyResult<String> {
let database_id = self.with_user_database(Err(FlowyError::internal()), |database| {
database