Use correct icon for ad-hoc notes on assets

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-01-14 14:34:17 +00:00
parent 0bb2e98af3
commit 9a4fd81c70

View file

@ -46,7 +46,7 @@ class ActionlogPresenter extends Presenter
return 'fa-solid fa-mobile-screen';
}
if ($this->action_type == 'create new') {
if ($this->action_type == 'create') {
return 'fa-solid fa-user-plus';
}
@ -70,7 +70,7 @@ class ActionlogPresenter extends Presenter
}
// Everything else
if ($this->action_type == 'create new') {
if ($this->action_type == 'create') {
return 'fa-solid fa-plus';
}
@ -98,6 +98,10 @@ class ActionlogPresenter extends Presenter
return 'fa-solid fa-rotate-right';
}
if ($this->action_type == 'note_added') {
return 'fas fa-sticky-note';
}
return 'fa-solid fa-rotate-right';
}