todo-mvc-auth-local icon indicating copy to clipboard operation
todo-mvc-auth-local copied to clipboard

Fix typo by adding ternary statement to ejs template

Open acopperlily opened this issue 2 years ago • 0 comments

This small change allows us to differentiate between 1 thing left and multiple things left. For instance, the todos view page will now render "User has 1 thing left to do" instead of "User has 1 things left to do."

The page still renders "User has 2 things left to do" and "User has 0 things left to do."

acopperlily avatar Sep 01 '22 07:09 acopperlily