mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-09 04:13:14 +08:00
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:
parent
69d0d7124f
commit
9a4662ca7c
1 changed files with 6 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue