mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: ensures tags-admin-dropdown is working correctly with sk2 (#8852)
This commit is contained in:
@@ -3,7 +3,7 @@ import { computed } from "@ember/object";
|
||||
|
||||
export default DropdownSelectBoxComponent.extend({
|
||||
pluginApiIdentifiers: ["tags-admin-dropdown"],
|
||||
classNames: "tags-admin-dropdown",
|
||||
classNames: ["tags-admin-dropdown"],
|
||||
actionsMapping: null,
|
||||
|
||||
selectKitOptions: {
|
||||
@@ -35,7 +35,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||
}),
|
||||
|
||||
actions: {
|
||||
onSelect(id) {
|
||||
onChange(id) {
|
||||
const action = this.actionsMapping[id];
|
||||
|
||||
if (action) {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{{#if selectKit.options.icon}}
|
||||
{{d-icon selectKit.options.icon}}
|
||||
{{/if}}
|
||||
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
|
||||
|
||||
{{component selectKit.options.selectedNameComponent
|
||||
tabindex=tabindex
|
||||
|
||||
Reference in New Issue
Block a user