// SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: AGPL-3.0-only import { html } from 'lit' import { repeat } from 'lit/directives/repeat.js' import { __ } from 'i18n' export default function (el) { const muc = el.muc if (!muc?.tasklists?.length) { // eslint-disable-next-line no-undef const i18nEmpty = __(LOC_task_list_pick_empty) return html`

${i18nEmpty}

` } // eslint-disable-next-line no-undef const i18nMessage = __(LOC_task_list_pick_message) return html`
el.onPick(ev)}>
${i18nMessage}
` }