I would like to turn on/off some buttons on Pro start.
For example check if I am on testing env and turn on some new buttons but do not show them in production.
The state of the button is define on startup and do not changed.
So I created a condition and add the element
condition="cond1"
to the button line in daml and it works. The only problem is that the button become disable but still exists.
I would like the button to be invisible not disable.
I tried to add the same condition element to the group (I put the button in a separate group) but it does not work.
Is there any way to drop the button by condition or in any other way?
Happy new year!