I'm looking if we can use properties of a module in the isVisible hook. The specific use case would be to 'hide' modules with the gpu property on non-gpu nodes.
As far as I figure out, it's not possible today as the hook only gets a table with:
- fullName
- sn (short name)
- fn (file path)
The properties are part of the module itself. It's not clear to me if we could get access to this kind of information in the hook?
I'm looking if we can use properties of a module in the
isVisiblehook. The specific use case would be to 'hide' modules with the gpu property on non-gpu nodes.As far as I figure out, it's not possible today as the hook only gets a table with:
The properties are part of the module itself. It's not clear to me if we could get access to this kind of information in the hook?