From 111692f2c42cf76bf4cee303607caf1c8f072eb8 Mon Sep 17 00:00:00 2001 From: Patrick Tang Date: Tue, 1 Oct 2024 02:07:51 -0700 Subject: [PATCH] fix --- step-web/src/main/webapp/js/backbone/views/view_sidebar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step-web/src/main/webapp/js/backbone/views/view_sidebar.js b/step-web/src/main/webapp/js/backbone/views/view_sidebar.js index 07718b80cf..d3afb0a36b 100644 --- a/step-web/src/main/webapp/js/backbone/views/view_sidebar.js +++ b/step-web/src/main/webapp/js/backbone/views/view_sidebar.js @@ -955,7 +955,7 @@ var SidebarView = Backbone.View.extend({ }, // for one-line morphology _createBriefMorphInfo: function (panel, info, morphCount, ref, strongNum) { - if (typeof info === "undefined") { + if ((typeof info === "undefined") || (Object.keys(info).length === 0)) { panel.append("
"); return; }