mirror of
https://github.com/discourse/discourse.git
synced 2025-01-22 11:58:30 +08:00
ff163ae980
When using api.decorateWidget("topic-admin-menu:adminMenuButtons") in plugins, an empty button is added if the helper only returns attributes based on a condition (for example, if the admin action is limited to public topics.) In that case, we need to exclude the button from rendering. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |