Skip to content

Commit 21813d0

Browse files
committed
UI Tweak: Improve icons for linked events and workflows, to show arrow pointing right (more clear).
1 parent 52077cc commit 21813d0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

htdocs/js/pages/Base.class.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,11 @@ Page.Base = class Base extends Page {
407407
// pick default icon based on event attributes
408408
if (item.type == 'workflow') {
409409
default_icon = 'clipboard-flow-outline';
410+
if (find_object(item.actions || [], { type: 'run_event', enabled: true })) default_icon = 'clipboard-arrow-right-outline';
410411
if (!item.enabled) default_icon = 'clipboard-outline';
411412
}
412413
else {
413-
if (find_object(item.actions || [], { type: 'run_event', enabled: true })) default_icon = 'file-link-outline';
414+
if (find_object(item.actions || [], { type: 'run_event', enabled: true })) default_icon = 'file-send-outline';
414415
if (!item.enabled) default_icon = 'file-outline';
415416
}
416417

0 commit comments

Comments
 (0)