Define missing sessionIcon used by cron run rows.

Expanded job history called sessionIcon() which was never declared, crashing JobList whenever a run row rendered.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-08 16:49:06 +08:00
parent 69d0d7124f
commit 9a4662ca7c

View file

@ -140,6 +140,12 @@ window.__ModuleLoader__.load({
return Ico('IconTrashOutline16', { size: 16 }) return Ico('IconTrashOutline16', { size: 16 })
|| stealSvg('[class*="rowActions"] [class*="iconButton"]:last-child svg') || stealSvg('[class*="rowActions"] [class*="iconButton"]:last-child svg')
} }
function sessionIcon() {
return Ico('IconChatOutline16', { size: 16 })
|| Ico('IconMessageOutline16', { size: 16 })
|| stealSvg('[class*="sessionRow"] [class*="slot"] svg')
|| stealSvg('[class*="sessionRow"] svg')
}
function getService(ctx, faces, key) { function getService(ctx, faces, key) {
if (faces[key]) return faces[key] if (faces[key]) return faces[key]
try { try {