ad090eaca4
* initializing a modal
21 lines
484 B
JavaScript
21 lines
484 B
JavaScript
import { CustomElement } from 'shared/components/element.js'
|
|
import { _converse, api } from '@converse/headless/core'
|
|
|
|
export default class MUCTaskListsView extends CustomElement {
|
|
static get properties () {
|
|
return {
|
|
jid: { type: String, attribute: true }
|
|
}
|
|
}
|
|
|
|
async initialize () {
|
|
this.model = _converse.chatboxes.get(this.getAttribute('jid'))
|
|
}
|
|
|
|
render () {
|
|
return ''
|
|
}
|
|
}
|
|
|
|
api.elements.define('livechat-converse-muc-task-lists', MUCTaskListsView)
|