Task List completion message is wrong when no tasks completed #37554
Labels
focus: setup checklist
Issue related to onboarding task list.
type: bug
The issue is a confirmed bug.
Prerequisites
Describe the bug
When no tasks are completed, the default message is shown instead of
Let's get you started
.This is because the completed count isn't checked for
>=0
in the conditional.woocommerce/plugins/woocommerce-admin/client/task-lists/progress-title/default-progress-title.tsx
Lines 53 to 55 in bc983dd
Expected behavior
When no tasks are completed, the message should say
Let's get you started
.Actual behavior
When no tasks are completed, the message says
You are on the right track
.Steps to reproduce
WordPress Environment
n/a
Isolating the problem
The text was updated successfully, but these errors were encountered: