mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix card refresh issue
This commit is contained in:
@ -317,9 +317,6 @@ class GroupControllerDelegateImpl extends GroupControllerDelegate {
|
||||
|
||||
@override
|
||||
void updateRow(String groupId, RowPB row) {
|
||||
// workaround: fix the board card reload timing issue.
|
||||
Future.delayed(const Duration(milliseconds: 300), () {
|
||||
controller.updateColumnItem(groupId, BoardColumnItem(row: row));
|
||||
});
|
||||
controller.updateColumnItem(groupId, BoardColumnItem(row: row));
|
||||
}
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ class BoardSelectOptionCellState with _$BoardSelectOptionCellState {
|
||||
factory BoardSelectOptionCellState.initial(
|
||||
GridSelectOptionCellController context) {
|
||||
final data = context.getCellData();
|
||||
|
||||
return BoardSelectOptionCellState(
|
||||
selectedOptions: data?.selectOptions ?? [],
|
||||
);
|
||||
|
Reference in New Issue
Block a user