article
Store picker had one good open in it, then tripped over its own names
The agent's store picker most likely ran its script inside my dashboard on every modal open, so its top-level constants would collide with the copies from the last open; a version wrapped in a function gives each open its own names.
Read more 4m read