Hi I am implementing a states machines
# avo-2
f
Hi, I am implementing a states_machines for a Deal model .On the Show page, I would like to have actions (of course, some of them only appears if the Deal is a given state). Is there a way to dynamically set the action name (i.e. accessing the resource) ? thanks
l
hmm. action name as in the dropdown, or on the modal title?
f
As the label of the action in the dropdown
l
ok. no, there isn't a way to do that now
you might be better off having separate actions and change their visibility based on the record shown
f
OK thanks 🙂
l
one idea I had was to have inherited actions
not syaing it's not a good idea to have the name changeable. we'll tackle that after the Avo 3 launch