fixed unvisible categorys
This commit is contained in:
1 parent
1de0a60bd0
commit
601be6719f
6 files changed
+590
-563
No files matched your search
@@ -390,6 +390,9 @@ class NextFloor extends IPSModuleStrict
|
||||
'hidden' => (bool) $object['ObjectIsHidden'],
|
||||
'icon' => (string) $object['ObjectIcon']
|
||||
];
|
||||
if ($type === 1) { // OBJECTTYPE_INSTANCE: the logical console view separates system modules.
|
||||
$node['module_type'] = (int) IPS_GetInstance($objectID)['ModuleInfo']['ModuleType'];
|
||||
}
|
||||
if ($type === 0) { // OBJECTTYPE_CATEGORY
|
||||
$nearestCategory = $objectID;
|
||||
$areas[] = ['area_id' => 'symcon-category-' . $objectID, 'name' => implode(' / ', $path)];
|
||||
|
||||
Reference in new issue
Block a user