Eventhough, After updation of Appearance Theme. Update button is still enabled
Issue Summary
Eventhough Appearance theme is update. The update button is still enabled and disabled when we try to select the previous theme.
https://github.com/calcom/cal.com/assets/123581387/555ea77b-2814-4e83-8318-00bb92d94aa0
Steps to Reproduce
- Went to Settings -> Appearance.
- Update theme.
- select the previous theme.
Once we updated, update button should be disable and only enables when changes occurs.
@hariombalhara I already fixed this issue. kindly assign the bug to me if it's approved.
can you assign this to me
Hi @headshigh, sorry to inform u that. I had the fix in my local. Kindly look for other issues :)
Did you just remove !Isdirty tag from disabled disabled prop of input or were you able to refetch user theme preference once he has made changes and put it on default values?
Isdirty is required to monitor the changes. So I Have reset the default values with the updated values