-
-
Notifications
You must be signed in to change notification settings - Fork 987
Closed
Labels
beginner-friendlybugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
Sometimes it is possible to add a color property twice (eg. two "ExcludingDaysLabel" colors. This shouldn't be allowed.
To Reproduce
Steps to reproduce the behavior:
- Visit the demo site - https://streak-stats.demolab.com/demo/
- Expand "Advanced Options"
- Click the add property (+) button 11 times (until all properties are added)
- Click the remove (−) button next to the "Dates" property
- Click the add property (+) button while "ExcludingDaysLabel" is selected in the menu
- "ExcludingDaysLabel" gets added again even though it's already added
Expected behavior
Properties already added should not appear in the dropdown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Arch Linux
Browser: Brave
Version: 1.57.47
Smartphone (please complete the following information):
- Device: Pixel 6
- OS: Android 14 beta
- Browser: Brave
- Version: 1.57.60
Metadata
Metadata
Assignees
Labels
beginner-friendlybugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers