Don’t block re-ordering task statuses
This commit is contained in:
parent
3ece3d5867
commit
d300f3cb6d
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue