Skip to content

Commit

Permalink
Correct the logic selecting the info icon for information alerts (noj…
Browse files Browse the repository at this point in the history
…ira) (#150)
  • Loading branch information
arlen authored Jan 26, 2024
1 parent 585af46 commit e74f6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/View/Helper/AlertHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function alert(
public function getAlertIcon(string $type) {
switch($type) {
case('success'): return '<span class="material-icons-outlined alert-icon">check_circle</span>';
case('info'): return '<span class="material-icons-outlined alert-icon">info</span>';
case('information'): return '<span class="material-icons-outlined alert-icon">info</span>';
default: return '<span class="material-icons-outlined alert-icon">report_problem</span>';
}
}
Expand Down

0 comments on commit e74f6d7

Please sign in to comment.