Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
fix: set alt to "" on decorative portlet-icon image
Browse files Browse the repository at this point in the history
  • Loading branch information
apetro committed Jun 8, 2020
1 parent 6035f23 commit 8bb0d73
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@
-->
<md-icon ng-if="portlet.mdIcon">{{ portlet.mdIcon }}</md-icon>
<img style="width:24px; height:24px;" ng-if="!portlet.mdIcon && !portlet.faIcon && portlet.layoutObject && portlet.layoutObject.iconUrl" ng-src="{{portlet.layoutObject.iconUrl}}" alt="App icon">
<img style="width:24px; height:24px;" ng-if="!portlet.mdIcon && !portlet.faIcon && portlet.layoutObject && portlet.layoutObject.iconUrl" ng-src="{{portlet.layoutObject.iconUrl}}" alt="">
<i ng-if="!portlet.mdIcon && portlet.faIcon && portlet.faIcon.indexOf('fa-')===0" class="fa {{::portlet.faIcon}}"></i>
<i ng-if="!portlet.mdIcon && portlet.faIcon && portlet.faIcon.indexOf('fa-')!==0" class="{{::portlet.faIcon}}"></i>
<i ng-if="!portlet.mdIcon && !portlet.faIcon && (!portlet.layoutObject.iconUrl || !portlet.layoutObject.iconUrl )" class="fa fa-star"></i>

0 comments on commit 8bb0d73

Please sign in to comment.