quarkusio/quarkus-workshops

When clicking on New Fighters the narration should be cleared

agoncal opened this issue · 2 comments

@holly-cummins in the new UI, when click on the New Fighters button, the text of the narration is not cleared.

So, if you narrate one fight, you get the text of the narration. Then, when you click on new fighters again, the text should be cleared.

Good find @agoncal ! After seeing this I checked the sample as well and saw the same issue.

I've fixed it there with quarkusio/quarkus-super-heroes@b6dcaf5

I added tests for it as well!

@holly-cummins / @agoncal I'll push a PR in a few minutes for this.