charliegriefer/my-whiskies

Exception removing distillery

charliegriefer opened this issue · 1 comments

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.

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.