Device Menu - Generate dashboard with AI button still available after setting TB_AI_ENABLED=false
Describe the bug If the AI features are not being used, the corresponding buttons should be hidden from users to avoid confusing them. However, the configuration setting to disable them does not apply everywhere—particularly in the Device Menu. The buttons remain visible there.
Your Server Environment
- own setup
- Deployment: monolith & microservice
- Deployment type: deb, k8s
- ThingsBoard Version 4.3.1.3 & 4.3.1.4
- Professional Edition
To Reproduce Steps to reproduce the behavior:
- Set TB_AI_ENABLED to false in the config
- Restart TB service
- Observe that respective AI buttons are hidden, only the Button in device menu is still present.
Expected behavior All buttons which are related to the AI feature are disabled, when setting the config parameter to false
Screenshots
Disclaimer
We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.
Source: thingsboard/thingsboard