Task lists WIP:
* front-end: task are no more in a dialog
This commit is contained in:
13
conversejs/custom/templates/muc-chatarea.js
Normal file
13
conversejs/custom/templates/muc-chatarea.js
Normal file
@ -0,0 +1,13 @@
|
||||
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)}`
|
||||
}
|
Reference in New Issue
Block a user