Task lists WIP:

* remember if task app was open, and restore when in fullpage mode
* refactoring
This commit is contained in:
John Livingston
2024-05-12 16:02:13 +02:00
parent 5c9733147b
commit 9ef71c07dd
6 changed files with 11 additions and 6 deletions

View File

@ -194,7 +194,8 @@ async function initConverse (
// We enable task list only if we are in the peertube interface.
// Technically it would work in 'chat-only' mode, but i don't want to add too many things to test
// (and i now there is some CSS bugs in the task list).
params.livechat_task_list_enabled = true
params.livechat_task_app_enabled = true
params.livechat_task_app_restore = chatIncludeMode === 'peertube-fullpage'
}
try {