mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: config create field pannel
This commit is contained in:
@ -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))?;
|
||||
|
||||
|
Reference in New Issue
Block a user