Don’t block re-ordering task statuses

This commit is contained in:
Hillel Coren 2021-05-09 19:04:06 +03:00
parent 3ece3d5867
commit d300f3cb6d
2 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class KanbanViewState extends State<KanbanView> {
status.statusOrder == filteredStatusIds.indexOf(status.id); status.statusOrder == filteredStatusIds.indexOf(status.id);
return BoardList( return BoardList(
draggable: status.isOld && hasCorectOrder, draggable: status.isOld,
backgroundColor: color, backgroundColor: color,
headerBackgroundColor: color, headerBackgroundColor: color,
onDropList: (endIndex, startIndex) { onDropList: (endIndex, startIndex) {

View File

@ -106,6 +106,7 @@ class _TaskStatusEditState extends State<TaskStatusEdit> {
validator: (val) => val.isEmpty || val.trim().isEmpty validator: (val) => val.isEmpty || val.trim().isEmpty
? localization.pleaseEnterAName ? localization.pleaseEnterAName
: null, : null,
onSavePressed: viewModel.onSavePressed,
), ),
FormColorPicker( FormColorPicker(
initialValue: taskStatus.color, initialValue: taskStatus.color,