mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: bump up collab version (#2736)
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
use std::cmp::Ordering;
|
||||
use std::str::FromStr;
|
||||
|
||||
use collab::core::any_map::AnyMapExtension;
|
||||
use collab_database::fields::{Field, TypeOptionData, TypeOptionDataBuilder};
|
||||
use collab_database::rows::Cell;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use flowy_error::FlowyResult;
|
||||
|
||||
use crate::entities::{CheckboxFilterPB, FieldType};
|
||||
use crate::services::cell::{CellDataChangeset, CellDataDecoder};
|
||||
use crate::services::field::{
|
||||
@ -5,14 +15,6 @@ use crate::services::field::{
|
||||
TypeOptionCellDataFilter, TypeOptionTransform,
|
||||
};
|
||||
|
||||
use collab::core::any_map::AnyMapExtension;
|
||||
use collab_database::fields::{Field, TypeOptionData, TypeOptionDataBuilder};
|
||||
use collab_database::rows::Cell;
|
||||
use flowy_error::FlowyResult;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::cmp::Ordering;
|
||||
use std::str::FromStr;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
pub struct CheckboxTypeOption {
|
||||
pub is_selected: bool,
|
||||
@ -89,10 +91,7 @@ impl CellDataDecoder for CheckboxTypeOption {
|
||||
if !decoded_field_type.is_checkbox() {
|
||||
return Ok(Default::default());
|
||||
}
|
||||
|
||||
let cell = self.parse_cell(cell);
|
||||
println!("cell: {:?}", cell);
|
||||
return cell;
|
||||
self.parse_cell(cell)
|
||||
}
|
||||
|
||||
fn stringify_cell_data(&self, cell_data: <Self as TypeOption>::CellData) -> String {
|
||||
|
Reference in New Issue
Block a user