d6aefb61c4
* front-end: task are no more in a dialog
14 lines
415 B
JavaScript
14 lines
415 B
JavaScript
import { api } from '@converse/headless/core'
|
|
import tplMUCChatarea from '../../src/plugins/muc-views/templates/muc-chatarea.js'
|
|
import { html } from 'lit'
|
|
|
|
export default (o) => {
|
|
return html`
|
|
${
|
|
o?.model && api.settings.get('livechat_task_list_enabled')
|
|
? html`<livechat-converse-muc-task-app .model=${o.model}></livechat-converse-muc-task-app>`
|
|
: ''
|
|
}
|
|
${tplMUCChatarea(o)}`
|
|
}
|