Revert the work to sort the task list by completion. (https://github.com/woocommerce/woocommerce-admin/pull/5721)
This commit is contained in:
parent
d43e45576d
commit
68786855d3
|
@ -242,13 +242,7 @@ export function getAllTasks( {
|
|||
|
||||
return applyFilters(
|
||||
'woocommerce_admin_onboarding_task_list',
|
||||
tasks.sort( ( a, b ) => {
|
||||
if ( a.completed === b.completed ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return a.completed ? 1 : -1;
|
||||
} ),
|
||||
tasks,
|
||||
query
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue