A platform for community discussion. Free, open, simple.
UX: Remove flat icons from wizard step two (#30761)
Ella E.dff1327eba72
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.gjsindex 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)}}/><span class="wizard-container__radio-label">- {{#if choice.icon}}- {{icon choice.icon}}- {{/if}}<span>{{choice.label}}</span></span></PluginOutlet>diff --git a/lib/wizard/builder.rb b/lib/wizard/builder.rbindex 7800f479c15..ca041d30c79 100644--- a/lib/wizard/builder.rb+++ b/lib/wizard/builder.rb@@ -90,8 +90,8 @@ class Wizardtype: "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")endstep.add_field(