Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 58fcb54

Browse files
committed
fix skill tile directive
1 parent c65a547 commit 58fcb54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
i.colored(ng-show="icon", ng-class="icon")
33
i.default(ng-hide="icon") {}
4-
.name {{skill}}
4+
.name {{skill.tagName}}

app/directives/skill-tile/skill-tile.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
controller: ['$scope', function($scope) {
4444

4545
for (var key in _iconMap) {
46-
if ($scope.skill.trim().toLowerCase().indexOf(key) > -1) {
46+
if ($scope.skill.tagName.trim().toLowerCase().indexOf(key) > -1) {
4747
$scope.icon = _iconMap[key];
4848
break;
4949
}

0 commit comments

Comments
 (0)