19 lines
568 B
JavaScript
19 lines
568 B
JavaScript
import BaseModal from '../../../../src/plugins/modal/modal.js'
|
|
import { api } from '../../../../src/headless/core.js'
|
|
import { html } from 'lit'
|
|
import { __ } from 'i18n'
|
|
|
|
export default class mucTaskListsModal extends BaseModal {
|
|
renderModal () {
|
|
const muc = this.model
|
|
return html`<livechat-converse-muc-task-lists .model=${muc.tasklists}></livechat-converse-muc-task-lists>`
|
|
}
|
|
|
|
getModalTitle () {
|
|
// eslint-disable-next-line no-undef
|
|
return __(LOC_tasks)
|
|
}
|
|
}
|
|
|
|
api.elements.define('livechat-converse-muc-task-lists-modal', mucTaskListsModal)
|