diff --git a/app/assets/javascripts/discourse/app/static/wizard/components/fields/radio.gjs b/app/assets/javascripts/discourse/app/static/wizard/components/fields/radio.gjs index 3412641137e..0fd9e96e06f 100644 --- a/app/assets/javascripts/discourse/app/static/wizard/components/fields/radio.gjs +++ b/app/assets/javascripts/discourse/app/static/wizard/components/fields/radio.gjs @@ -4,7 +4,6 @@ import { on } from "@ember/modifier"; import { action, set } from "@ember/object"; import PluginOutlet from "discourse/components/plugin-outlet"; import concatClass from "discourse/helpers/concat-class"; -import icon from "discourse/helpers/d-icon"; import withEventValue from "discourse/helpers/with-event-value"; export default class Radio extends Component { @@ -54,9 +53,6 @@ export default class Radio extends Component { {{on "change" (withEventValue this.selectionChanged)}} /> - {{#if choice.icon}} - {{icon choice.icon}} - {{/if}} {{choice.label}} diff --git a/lib/wizard/builder.rb b/lib/wizard/builder.rb index 7800f479c15..ca041d30c79 100644 --- a/lib/wizard/builder.rb +++ b/lib/wizard/builder.rb @@ -90,8 +90,8 @@ class Wizard type: "radio", value: SiteSetting.invite_only ? "invite_only" : "sign_up", ) do |field| - field.add_choice("sign_up", icon: "user-plus") - field.add_choice("invite_only", icon: "paper-plane") + field.add_choice("sign_up") + field.add_choice("invite_only") end step.add_field(