mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 13:55:07 +00:00
Previously we were only running the `condition` function once, and then overwriting it with a static boolean value. Future changes to composer attributes would not affect button visibility. This commit fixes the issue and adds an acceptance test for the behavior.