Skip to content

Commit 2091533

Browse files
committed
Remove the last fontawesome usages
1 parent ee614e8 commit 2091533

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/plugins/timelion/public/directives/saved_object_finder.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@
6767
i18n-id="timelion.savedObjectFinder.sortByButtonLabel"
6868
i18n-default-message="Name"
6969
></span>
70-
<span
71-
class="fa"
72-
ng-class="finder.isAscending ? 'fa-caret-up' : 'fa-caret-down'"
73-
>
70+
<icon type="'sortUp'" ng-if="finder.isAscending"></icon>
71+
<icon type="'sortDown'" ng-if="!finder.isAscending"></icon>
7472
<span class="euiScreenReaderOnly"
7573
ng-if="finder.isAscending"
7674
i18n-id="timelion.savedObjectFinder.sortByButtonLabeAscendingScreenReaderOnly"
@@ -94,7 +92,7 @@
9492
<a ng-href="{{finder.makeUrl(hit)}}"
9593
ng-blur="finder.hitBlur($event)"
9694
ng-click="finder.preventClick($event)">
97-
<span aria-hidden="true" class="finder-type fa" ng-if="hit.icon" ng-class="hit.icon"></span>
95+
<icon aria-hidden="true" class="finder-type" ng-if="hit.icon" ng-class="hit.icon"></icon>
9896
<icon type="'beaker'" ng-if="hit.type.shouldMarkAsExperimentalInUI()"></icon>
9997
<span>{{hit.title}}</span>
10098
<p ng-if="hit.description" ng-bind="hit.description"></p>

src/plugins/timelion/public/directives/saved_object_finder.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ export function initSavedObjectFinderDirective(app, savedSheetLoader, uiSettings
168168
switch (keyMap[$event.keyCode]) {
169169
case 'enter':
170170
if (self.hitCount !== 1) return;
171-
172171
const hit = self.hits[0];
173172
if (!hit) return;
174173

0 commit comments

Comments
 (0)