Web: fix task log loading
Not sure how this ever worked before. It did though ;-)
This commit is contained in:
parent
686295090b
commit
f19d800e35
@ -4,6 +4,7 @@ import { TabulatorFull as Tabulator } from 'tabulator-tables';
|
||||
import { useTaskLog } from '@/stores/tasklog'
|
||||
import { useTasks } from '@/stores/tasks'
|
||||
import { apiClient } from '@/stores/api-query-count';
|
||||
import { JobsApi } from '@/manager-api';
|
||||
|
||||
const taskLog = useTaskLog();
|
||||
const tasks = useTasks();
|
||||
@ -61,7 +62,7 @@ function _fetchLogTail(taskID) {
|
||||
|
||||
if (!taskID) return;
|
||||
|
||||
const jobsAPI = new API.JobsApi(apiClient);
|
||||
const jobsAPI = new JobsApi(apiClient);
|
||||
return jobsAPI.fetchTaskLogTail(taskID)
|
||||
.then((logTail) => {
|
||||
taskLog.addChunk(logTail);
|
||||
|
Loading…
x
Reference in New Issue
Block a user