list_selected = { if (items.length === 0) {
return html`<p>There are no items in the list</p>`
}
else {
return html`<ul>${items.map(
(gain, index) => html`
<li>
<a class="buttons-cities button" href="#" onclick=${(d) =>
(mutable items = items.filter(
(item, filterindex) => filterindex != index
))}>
${gain} <span class="button-icon">🗑</span>
</a>
</li>
`
)}</ul>
`
}
}