You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2023/12/21 17:11:22 UTC

(activemq-artemis) branch main updated: ARTEMIS-4547 properly display empty message

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 6cddc7f5fa ARTEMIS-4547 properly display empty message
6cddc7f5fa is described below

commit 6cddc7f5fa215768fb8547a0505d44405ff5d033
Author: Erwin Dondorp <er...@cgi.com>
AuthorDate: Thu Dec 21 13:35:55 2023 +0100

    ARTEMIS-4547 properly display empty message
---
 .../artemis-plugin/src/main/webapp/plugin/js/components/browse.js       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js
index c876f0aa93..01333276c1 100644
--- a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js
+++ b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js
@@ -757,7 +757,7 @@ var Artemis;
         */
         function createBodyText(message) {
             Artemis.log.debug("loading message:" + message);
-            if (message.text) {
+            if (message.text !== undefined) {
                 var body = message.text;
                 var lenTxt = "" + body.length;
                 message.textMode = "text (" + lenTxt + " chars)";