This is the same PR, as the one to main, just pushing it to this branch so we can easily merge for demo.
Original description:
This adds a button to call clearDirections(), so we can show that we have a working action. It also fixes a bug in clearDirections, by setting the directionsArray to an empty array, rather than null, which would cause the action to blow up the page due to an exception.
PR Description
This is the same PR, as the one to
main
, just pushing it to this branch so we can easily merge for demo.Original description: This adds a button to call clearDirections(), so we can show that we have a working action. It also fixes a bug in clearDirections, by setting the directionsArray to an empty array, rather than null, which would cause the action to blow up the page due to an exception.