mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-10-30 01:17:55 +00:00
fix: cannot drag newly-created board cards (#6207)
This commit is contained in:
parent
a1bc9246b1
commit
91173f707e
@ -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…
x
Reference in New Issue
Block a user