FIX: ensures tags-admin-dropdown is working correctly with sk2 (#8852)

This commit is contained in:
Joffrey JAFFEUX 2020-02-04 19:23:44 +01:00 committed by GitHub
parent 35a1912e2d
commit 2c2ab474a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -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) {

View File

@ -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