fix task counter decrement

This commit is contained in:
ouoertheo 2023-07-30 09:27:31 -05:00
parent 3fc2b81433
commit 4f76a8b0ce
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ jQuery(() => {
});
eventSource.on(event_types.MESSAGE_RECEIVED, () => {
if (currentChatId == undefined) {
if (currentChatId == undefined || currentTask == undefined) {
return
}
if ($("#objective-check-frequency").val() > 0) {