chore: config create field pannel

This commit is contained in:
appflowy
2022-03-24 17:09:05 +08:00
parent 694963a47d
commit 3fdf922f81
78 changed files with 964 additions and 2381 deletions

View File

@ -45,16 +45,18 @@ impl GridMetaPad {
..
} = params;
// Check if the field exists or not
if grid
.fields
.iter()
.find(|field_meta| field_meta.id == field.id)
.is_some()
{
tracing::warn!("Create grid field");
tracing::warn!("Duplicate grid field");
return Ok(None);
}
// Parse type option
let type_option =
String::from_utf8(type_option_data).map_err(|e| CollaborateError::internal().context(e))?;