Fix a bug where the store task list would remain after completion (https://github.com/woocommerce/woocommerce-admin/pull/5205)
* Adjust the logic of display of the store setup link. * Fix a bug where some values of woocommerce_task_list_complete cause issues with updating.
This commit is contained in:
parent
2cf7ea56a8
commit
305eff84b3
|
@ -394,7 +394,7 @@ export default compose(
|
|||
const profileItems = getProfileItems();
|
||||
|
||||
const isTaskListComplete =
|
||||
getOption( 'woocommerce_task_list_complete' ) || false;
|
||||
getOption( 'woocommerce_task_list_complete' ) === 'yes';
|
||||
const trackedCompletedTasks =
|
||||
getOption( 'woocommerce_task_list_tracked_completed_tasks' ) || [];
|
||||
const dismissedTasks =
|
||||
|
|
Loading…
Reference in New Issue