followup: elaborate a bit more why there could be no content

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-05-15 13:18:08 +02:00
parent cd82be4911
commit 70df8f46be

View File

@ -78,7 +78,11 @@ Ext.define('Proxmox.panel.JournalView', {
var text = lines.map(Ext.htmlEncode).join('<br>'); var text = lines.map(Ext.htmlEncode).join('<br>');
if (!livemode) { if (!livemode) {
view.content = num ? text : 'no content'; if (num) {
view.content = text;
} else {
view.content = 'nothing logged or no timespan selected';
}
} else { } else {
// update content // update content
if (top && num) { if (top && num) {