]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
fix #3542: node task logs: query correct node for tasks in clusters
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 23 Jul 2021 06:59:35 +0000 (08:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Jul 2021 14:32:38 +0000 (16:32 +0200)
commit0dbcfb8c642d262e02fcb86befb3fd727577e458
treeb8b576c431250511d179031901860caa7883ce04
parentdacb645550ec2e01260a618b0376cdd6d62973ff
fix #3542: node task logs: query correct node for tasks in clusters

While refactoring, we forgot to replace the 'localhost' URL (which is
valid for PMG/PBS) with the actual nodename we have in Proxmox VE.

Do this by setting the correct URL in the viewModel right at the
start of the initComponent

We now also have the possibility to overwrite the url if we want

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