ibm-messaging / mq-dev-patterns

Code samples and messaging patterns for IBM MQ developers
Apache License 2.0
191 stars 165 forks source link

Clean: Unecessary condition #239

Closed proteck closed 6 months ago

proteck commented 6 months ago

The following condition is useless.

https://github.com/ibm-messaging/mq-dev-patterns/blob/a870110f90f3c01e1ce13067385cf09e87a0dfaf/SpringBoot-MVC/src/main/resources/static/script.js#L95-L99

chughts commented 6 months ago

@harshitsharma2801 probably only need to add the message to the div if the put was successful.

chughts commented 6 months ago

fixed.