adamdoty / homebaker

A baked-goods, birthday-treat, tracking app I made for my wife.
3 stars 0 forks source link

[user] treat request should only be possible if coupon(s) assigned #55

Open bbelderbos opened 2 years ago

bbelderbos commented 2 years ago

only request treat if coupon(s) available, if not block endpoint (show error) and hide link from sidebar

adamdoty commented 2 years ago

fixed but noticed the sidebar only updates when the user goes to the treat_list page

bbelderbos commented 2 years ago

because of the needed page refresh (us not using htmx / Ajax / JS yet)?