From 9e550f5ada96856803ca6735aa558b433d553e3f Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sun, 29 Mar 2020 20:32:14 -0400 Subject: [PATCH] fix first-time group show in compact mode --- js/moto-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/moto-ui.js b/js/moto-ui.js index 151e53d7..a6f33aa2 100644 --- a/js/moto-ui.js +++ b/js/moto-ui.js @@ -145,7 +145,7 @@ var gs_moto_ui = exports; groupName = label; lastGroup = groups[label] = []; lastGroup.key = dbkey; - groupShow[label] = SDB[dbkey] !== 'false'; + groupShow[label] = compact ? SDB[dbkey] === 'true' : SDB[dbkey] !== 'false'; row.onclick = function(ev) { if (ev.target !== a && ev.target !== row) { return;