mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 11:55:17 +00:00
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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d5ef2ac832
commit
7f74dabc9e
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user