Skip to content

Commit 7b18c95

Browse files
committed
wc: migrate note-update to new token-dropdown component
1 parent 4020f2e commit 7b18c95

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/webcomponents/note/note-update.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {LitElement, html, nothing} from "lit";
17+
import {LitElement, html} from "lit";
1818
import Types from "../commons/types.js";
19-
import UtilsNew from "../../core/utils-new.js";
2019
import "../commons/tool-header.js";
2120
import "../commons/filters/catalog-search-autocomplete.js";
22-
import "../commons/forms/select-token-filter-static.js";
21+
import "../commons/forms/token-dropdown.js";
2322

2423
export default class NoteUpdate extends LitElement {
2524

@@ -191,11 +190,11 @@ export default class NoteUpdate extends LitElement {
191190
dataFormFilterChange(e.detail.value ? e.detail.value?.split(",") : []);
192191
};
193192
return html`
194-
<select-token-filter-static
195-
.data="${data}"
193+
<token-dropdown
194+
.values="${data}"
196195
.value="${data?.join(",")}"
197196
@filterChange="${e => handleTagsFilterChange(e)}">
198-
</select-token-filter-static>
197+
</token-dropdown>
199198
`;
200199
},
201200
},

0 commit comments

Comments
 (0)