]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
fix #3919: log view: show first task output line correctly
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 3 Mar 2022 14:11:45 +0000 (15:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 4 Mar 2022 13:54:21 +0000 (14:54 +0100)
commit80ea69b416986455622821a4e8c6b74c19ca9362
treef48c7fb143fdfc6fb12a0c008b90121918a5206f
parent4fecfeef704951a71f5d1059c934a5ecf6f38bf3
fix #3919: log view: show first task output line correctly

if a task did not produce output yet, we always get a single line
with "no output". our heuristic in the gui counts the total lines +
the current  position. so to update the first output correctly, we
have to update every time in case we only have one line.

Otherwise, we only update on the second line, which is bad
in case the only line we ever get is the result.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/panel/LogView.js