diff --git a/web/templates/index.html b/web/templates/index.html
index 882fd17..d7e5bb6 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -378,6 +378,7 @@ let TAB_CONFIG = {
singleSelect: false,
label: 'Storage',
sections: [
+ { title: 'RAID Контроллеры', categories: ['RAID'] },
{ title: 'Диски', categories: ['M2', 'SSD', 'HDD', 'EDSFF', 'HHHL'] }
]
},
@@ -1166,6 +1167,7 @@ function applyConfigTypeToTabs() {
const baseCategories = ['MB', 'CPU', 'MEM', 'DKC', 'CTL', 'ENC'];
const storageCategories = ['RAID', 'M2', 'SSD', 'HDD', 'EDSFF', 'HHHL'];
const storageSections = [
+ { title: 'RAID Контроллеры', categories: ['RAID'] },
{ title: 'Диски', categories: ['M2', 'SSD', 'HDD', 'EDSFF', 'HHHL'] }
];
const pciCategories = ['GPU', 'DPU', 'NIC', 'HCA', 'HBA', 'HIC'];
@@ -1187,7 +1189,12 @@ function applyConfigTypeToTabs() {
TAB_CONFIG.storage.categories = storageCategories.filter(c => {
return configType === 'storage' ? !STORAGE_HIDDEN_STORAGE_CATEGORIES.includes(c) : true;
});
- TAB_CONFIG.storage.sections = storageSections;
+ TAB_CONFIG.storage.sections = storageSections.filter(section => {
+ if (configType === 'storage') {
+ return !section.categories.every(cat => STORAGE_HIDDEN_STORAGE_CATEGORIES.includes(cat));
+ }
+ return true;
+ });
TAB_CONFIG.pci.categories = pciCategories.filter(c => {
return configType === 'storage' ? !STORAGE_HIDDEN_PCI_CATEGORIES.includes(c) : c !== 'HIC';