A platform for community discussion. Free, open, simple.
FIX: Restore the unconditional yield in d-button (#22759)
Jarek Radosz6725a1d7bd93
diff --git a/app/assets/javascripts/discourse/app/components/d-button.gjs b/app/assets/javascripts/discourse/app/components/d-button.gjsindex 4a8173ad7b5..207958d0fc4 100644--- a/app/assets/javascripts/discourse/app/components/d-button.gjs+++ b/app/assets/javascripts/discourse/app/components/d-button.gjs@@ -64,12 +64,12 @@ export default class DButton extends GlimmerComponentWithDeprecatedParentView {…{{~/if~}}</span>- {{~else if (has-block)~}}- {{yield}}{{~else~}}​{{! Zero-width space character, so icon-only button height = regular button height }}{{~/if~}}++ {{yield}}</button></template>