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:
Sam Seay 2020-09-30 04:24:39 +13:00 committed by GitHub
parent 2cf7ea56a8
commit 305eff84b3
1 changed files with 1 additions and 1 deletions

View File

@ -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 =