Resume the dashboard chat from its own profile

It reopened whatever was touched last anywhere, so the card could land in a
Scheduler troubleshooting thread with no picker to get back.
This commit is contained in:
Gmer4Lfe
2026-08-13 17:03:45 -04:00
parent 2ccc93bb14
commit b7df54e4f3
2 changed files with 17 additions and 1 deletions
+5
View File
@@ -2851,6 +2851,11 @@ if (document.getElementById('vv-mon-ai-chat')) {
const vvMonChat = VvAiChat({
prefix: 'vv-mon-ai',
profile: 'chat',
// This card is General Chat and stays General Chat — there is no picker on it. Without this
// it resumed whatever was most recently touched anywhere, so opening the dashboard could land
// it in the middle of a Scheduler troubleshooting thread, retitled and rescoped, on a card
// with no obvious way back.
resumeProfile: 'chat',
empty: 'Ask anything. Questions about this installation are handed to the Varaverk '
+ 'assistant automatically.',
onChats: id => { if (vvMonChatList) vvMonChatList.setActive(id); },