mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-26 11:40:26 +00:00
fix: kanban worker log URL double query param on non-default boards
This commit is contained in:
committed by
nesquena-hermes
parent
66de2367a9
commit
2e876ea229
+1
-2
@@ -2388,8 +2388,7 @@ async function loadKanbanTask(taskId){
|
||||
if (!taskId) return;
|
||||
try {
|
||||
const data = await api('/api/kanban/tasks/' + encodeURIComponent(taskId) + _kanbanBoardQuery());
|
||||
const logEndpoint = '/api/kanban/tasks/' + encodeURIComponent(taskId) + '/log' + _kanbanBoardQuery();
|
||||
try { data.log = await api(logEndpoint + '?tail=65536'); } catch(e) { data.log = {}; }
|
||||
try { data.log = await api('/api/kanban/tasks/' + encodeURIComponent(taskId) + '/log' + _kanbanBoardQuery({tail: 65536})); } catch(e) { data.log = {}; }
|
||||
_kanbanCurrentTaskId = taskId;
|
||||
const task = data.task || {};
|
||||
const title = _kanbanTaskTitle(task);
|
||||
|
||||
Reference in New Issue
Block a user