Skip to content

Commit ac17c97

Browse files
committed
UI Tweak: Show different default icons for events / workflows if they are disabled.
1 parent 8310673 commit ac17c97

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

htdocs/js/pages/Base.class.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,10 @@ Page.Base = class Base extends Page {
404404
var default_icon = 'file-clock-outline';
405405
var loc = '#Events';
406406

407+
if (!item.enabled) default_icon = 'file-outline';
407408
if (item.type == 'workflow') {
408409
default_icon = 'clipboard-flow-outline';
410+
if (!item.enabled) default_icon = 'clipboard-outline';
409411
}
410412

411413
var html = '<span class="nowrap" title="' + encode_attrib_entities(item.title) + '">';

0 commit comments

Comments
 (0)