Skip to content

Commit 215cca7

Browse files
committed
Allow filtering jobs by the IRC nick of the person who started the job
Useful when you want to quickly check on your own jobs.
1 parent d5bc3e6 commit 215cca7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dashboard/assets/scripts/dashboard.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,8 @@ class JobsRenderer {
628628
this.firstFilterMatch = null;
629629
for (const job of this.jobs.sorted) {
630630
const w = this.renderInfo[job.ident].logWindow;
631-
if (!query.test(job.url)) {
631+
const show = query.test(job.url) || (this.showNicks && query.test(job.started_by));
632+
if (!show) {
632633
w.classList.add("log-window-hidden");
633634

634635
unmatchedWindows.push(w);

0 commit comments

Comments
 (0)