Skip to content

Commit 4020f2e

Browse files
committed
wc: migrate note-create to new token-dropdown component
1 parent 810adb5 commit 4020f2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/webcomponents/note/note-create.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import {LitElement, html} from "lit";
1818
import Types from "../commons/types.js";
1919
import NotificationUtils from "../commons/utils/notification-utils.js";
2020
import LitUtils from "../commons/utils/lit-utils.js";
21-
import UtilsNew from "../../core/utils-new.js";
2221
import CatalogUtils from "../../core/clients/opencga/opencga-catalog-utils.js";
2322
import "../commons/tool-header.js";
2423
import "../commons/filters/catalog-search-autocomplete.js";
24+
import "../commons/forms/token-dropdown.js";
2525
import "../commons/json-editor.js";
2626

2727
export default class NoteCreate extends LitElement {
@@ -228,11 +228,11 @@ export default class NoteCreate extends LitElement {
228228
dataFormFieldChange(e.detail.value ? e.detail.value?.split(",") : []);
229229
};
230230
return html`
231-
<select-token-filter-static
232-
.data="${data}"
231+
<token-dropdown
232+
.values="${data}"
233233
.value="${data?.join(",")}"
234234
@filterChange="${e => handleTagsChange(e)}">
235-
</select-token-filter-static>
235+
</token-dropdown>
236236
`;
237237
},
238238
},

0 commit comments

Comments
 (0)