mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: settings improvements (#5547)
* fix: user workspace bloc changed * fix: use translate card cell style * fix: add getworkspacemember * fix: billing launch review * fix: disable time field * fix: member tooltip * fix: remove my account description * fix: punctuation * fix: filter workspace font * fix: cloud toggle * fix: minor adjustments * chore: disable cloud document search * fix: improve workspace name textfield * test: move billing test to cloud * fix: use cache over remote * fix: clippy and tests * chore: amend flowy tooltip * test: add pump and settle * test: integration test for local auth
This commit is contained in:
@ -339,6 +339,23 @@ where
|
||||
})
|
||||
}
|
||||
|
||||
fn get_workspace_member(
|
||||
&self,
|
||||
workspace_id: String,
|
||||
uid: i64,
|
||||
) -> FutureResult<WorkspaceMember, FlowyError> {
|
||||
let try_get_client = self.server.try_get_client();
|
||||
FutureResult::new(async move {
|
||||
let client = try_get_client?;
|
||||
let query = QueryWorkspaceMember {
|
||||
workspace_id: workspace_id.clone(),
|
||||
uid,
|
||||
};
|
||||
let member = client.get_workspace_member(query).await?;
|
||||
Ok(from_af_workspace_member(member))
|
||||
})
|
||||
}
|
||||
|
||||
#[instrument(level = "debug", skip_all)]
|
||||
fn get_user_awareness_doc_state(
|
||||
&self,
|
||||
|
Reference in New Issue
Block a user