NoDataInjector uses inheritance
Don't create button if menu has no elements
Merge pull request #1192 from aodn/nodatainjector_uses_inheritance

NoDataInjector uses inheritance