From 7f74dabc9e1e68b62d89d8c16a8de37f2c6f4f20 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 10 Jan 2023 12:26:21 +0100 Subject: [PATCH] ui: config panel: fix onlineHelp mapping targets We currently do not support direct resolved links, and we also have no stability guarantee for those, so the might change in pve-docs- Switch to mapping to the chapter reference, which actually works and is intended for stable help references. Signed-off-by: Thomas Lamprecht --- www/manager6/panel/ConfigPanel.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/www/manager6/panel/ConfigPanel.js b/www/manager6/panel/ConfigPanel.js index 94600aa2..28d919f6 100644 --- a/www/manager6/panel/ConfigPanel.js +++ b/www/manager6/panel/ConfigPanel.js @@ -177,12 +177,12 @@ Ext.define('PVE.panel.Config', { if (!me.onlineHelp) { let typeToOnlineHelp = { - 'type/lxc': 'chapter-pct.html', - 'type/node': 'chapter-sysadmin.html', - 'type/pool': 'chapter-pveum.html#_pools', - 'type/qemu': 'chapter-qm.html', - 'type/sdn': 'chapter-pvesdn.html', - 'type/storage': 'chapter-pvesm.html', + 'type/lxc': 'chapter_pct', + 'type/node': 'chapter_system_administration', + 'type/pool': 'pveum_pools', + 'type/qemu': 'chapter_virtual_machines', + 'type/sdn': 'chapter_pvesdn', + 'type/storage': 'chapter_storage', }; me.onlineHelp = typeToOnlineHelp[me.pveSelNode.data.id]; }