charliegriefer / my-whiskies

MIT License
2 stars 0 forks source link

Exception removing distillery #95

Closed charliegriefer closed 1 year ago

charliegriefer commented 1 year ago

An exception occurs when trying to remove a distillery that has associated bottles.

It's good that you can't do this, but handle it more gracefully.

charliegriefer commented 1 year ago

Got this handled. The confirmation modal will no longer let you proceed if a distillery has bottles.

Still have code in place beyond that as extra insurance as well.