How to check ReTool environment in a {{ JS expression }}?

Hi. How can I check the environment of my ReTool instance in a JS expression?

I'd like to disable / hide some buttons ie. components when the environment is production and have it working when its staging?

Thanks,
V.

{{ retoolContext.environment }}
:slight_smile:

2 Likes