fix(striker-ui-api): don't list get server screenshot jobs

main
Tsu-ba-me 2 years ago
parent db5d98d9d6
commit 5a51f9a31a
  1. 4
      striker-ui-api/src/lib/request_handlers/job/getJob.ts

@ -77,6 +77,6 @@ export const getJob = buildGetRequestHandler((request, buildQueryOptions) => {
FROM jobs AS job
JOIN hosts AS hos
ON job.job_host_uuid = hos.host_uuid
WHERE job.job_progress < 100
${condModifiedDate};`;
WHERE (job.job_progress < 100 ${condModifiedDate})
AND job_name NOT LIKE 'get_server_screenshot%';`;
});

Loading…
Cancel
Save