For some reason there are resources with a resource group name that we can't find in our list of resource groups. I still don't know how that happens. These changes allow loading the tree if a resource group isn't found.
In my testing, the impact of passing undefined down to a grouping item is the view properties command breaks. But that's a much better result than not being able to load the groups at all.
I tested this by manually removing a resource group from the resource groups array.
Fixes #608
For some reason there are resources with a resource group name that we can't find in our list of resource groups. I still don't know how that happens. These changes allow loading the tree if a resource group isn't found.
In my testing, the impact of passing undefined down to a grouping item is the view properties command breaks. But that's a much better result than not being able to load the groups at all.
I tested this by manually removing a resource group from the resource groups array.