mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: mobile launch review (#4214)
* fix: text for changing field type * fix: field name text field autofocus * fix: don't allow insert left on primary field * fix: edit field from view setting * fix: edit non-current database view * fix: row detail toggle hidden fields button * fix: database view name autofocus * fix: mobile date picker * fix: deleting select option not deleting column * fix: duplicate and delete view * fix: mobile tab bar header left padding
This commit is contained in:
@ -842,14 +842,14 @@ impl DatabaseEditor {
|
||||
type_option.delete_option(&option.id);
|
||||
}
|
||||
|
||||
notify_did_update_database_field(&self.database, field_id)?;
|
||||
self
|
||||
.database
|
||||
.lock()
|
||||
.fields
|
||||
.update_field(field_id, |update| {
|
||||
update.set_type_option(field.field_type, Some(type_option.to_type_option_data()));
|
||||
});
|
||||
let view_editor = self.database_views.get_view_editor(view_id).await?;
|
||||
update_field_type_option_fn(
|
||||
&self.database,
|
||||
&view_editor,
|
||||
type_option.to_type_option_data(),
|
||||
field.clone(),
|
||||
)
|
||||
.await?;
|
||||
|
||||
self
|
||||
.update_cell_with_changeset(view_id, row_id, field_id, cell_changeset)
|
||||
|
Reference in New Issue
Block a user