From 2091533e24889e70df5532ea06e146ebb7765baf Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Fri, 16 Oct 2020 10:23:22 +0300 Subject: [PATCH] Remove the last fontawesome usages --- .../timelion/public/directives/saved_object_finder.html | 8 +++----- .../timelion/public/directives/saved_object_finder.js | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/plugins/timelion/public/directives/saved_object_finder.html b/src/plugins/timelion/public/directives/saved_object_finder.html index 6476ffc38dbd7e..1ce10efe4e0a8b 100644 --- a/src/plugins/timelion/public/directives/saved_object_finder.html +++ b/src/plugins/timelion/public/directives/saved_object_finder.html @@ -67,10 +67,8 @@ i18n-id="timelion.savedObjectFinder.sortByButtonLabel" i18n-default-message="Name" > - + + - + {{hit.title}}

diff --git a/src/plugins/timelion/public/directives/saved_object_finder.js b/src/plugins/timelion/public/directives/saved_object_finder.js index 88f1b78cd3da54..29f546678e6aa9 100644 --- a/src/plugins/timelion/public/directives/saved_object_finder.js +++ b/src/plugins/timelion/public/directives/saved_object_finder.js @@ -168,7 +168,6 @@ export function initSavedObjectFinderDirective(app, savedSheetLoader, uiSettings switch (keyMap[$event.keyCode]) { case 'enter': if (self.hitCount !== 1) return; - const hit = self.hits[0]; if (!hit) return;