ita-social-projects/GreenCityClient

[Habits] The habit add button should not be active when re-selecting a habit from the list of habit templates

idzhersh opened this issue · 1 comments

Environment: Linux Ubuntu 20.04, Chrome Version 88.0.4324.150 (Official Build) (64-bit).
Reproducible: always.
Build found: 15.02.21

Steps to reproduce:
1 Sign in with User on-page https://ita-social-projects.github.io/GreenCityClient/
2 Open habits tab

Actual result
1 If you have a list of pre-selected habits, some of tham can be repeated.
2 Select "Add new habit"
3 On the page with habits templates. Those habits that used have an active button "Add habit"

h3
h2
Expected result

1 If you have a list of pre-selected habits, none of them should be repeated.
2 On the page with habits templates. Those habits that used to be should not have an active button "Add habit"

test