Skip to content

Commit a8ba128

Browse files
committed
Fix up Icon helper move
1 parent 5d01a11 commit a8ba128

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Controller/Admin/LoadHelperTrait.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
namespace Queue\Controller\Admin;
55

6+
use Templating\View\Helper\IconHelper;
7+
68
trait LoadHelperTrait {
79

810
/**
@@ -12,7 +14,7 @@ protected function loadHelpers(): void {
1214
$helpers = [
1315
'Tools.Time',
1416
'Tools.Format',
15-
'Tools.Icon',
17+
class_exists(IconHelper::class) ? 'Templating.Icon' : 'Tools.Icon',
1618
'Tools.Text',
1719
'Shim.Configure',
1820
];

0 commit comments

Comments
 (0)