Skip to content

Commit

Permalink
Added icon to warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiCu committed Sep 12, 2017
1 parent daedd8f commit 39d0a5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/logging/logging-controller.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ angular.module('magna-app')
case 'success': case 'success':
classes.push('glyphicon-ok-sign'); classes.push('glyphicon-ok-sign');
break; break;
case 'warning':
classes.push('glyphicon-warning-sign');
break;
} }
if(LoggingService.lastSuccessfulUpdateIdx > -1 && idx > LoggingService.lastSuccessfulUpdateIdx) { if(LoggingService.lastSuccessfulUpdateIdx > -1 && idx > LoggingService.lastSuccessfulUpdateIdx) {
return classes; return classes;
Expand Down

0 comments on commit 39d0a5e

Please sign in to comment.