Skip to content

Commit 4d15077

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 85882b3 commit 4d15077

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)