mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-06 06:58:31 +00:00
fix: cannot drag newly-created board cards (#6207)
This commit is contained in:
parent
a1bc9246b1
commit
91173f707e
1 changed files with 2 additions and 5 deletions
|
|
@ -614,10 +614,7 @@ class GroupItem extends AppFlowyGroupItem {
|
|||
GroupItem({
|
||||
required this.row,
|
||||
required this.fieldInfo,
|
||||
bool draggable = true,
|
||||
}) {
|
||||
super.draggable.value = draggable;
|
||||
}
|
||||
});
|
||||
|
||||
final RowMetaPB row;
|
||||
final FieldInfo fieldInfo;
|
||||
|
|
@ -706,7 +703,7 @@ class GroupControllerDelegateImpl extends GroupControllerDelegate {
|
|||
return Log.warn("fieldInfo should not be null");
|
||||
}
|
||||
|
||||
final item = GroupItem(row: row, fieldInfo: fieldInfo, draggable: false);
|
||||
final item = GroupItem(row: row, fieldInfo: fieldInfo);
|
||||
|
||||
if (index != null) {
|
||||
controller.insertGroupItem(group.groupId, index, item);
|
||||
|
|
|
|||
Loading…
Reference in a new issue