React UI: Fix left/right icons in the time picker (#6275)

https://github.com/prometheus/prometheus/pull/6193 removed these icons
from the font library, but the non-React timepicker library requires
these.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/6281/head
Julius Volz 2019-11-05 16:15:18 +01:00 committed by Chris Marchbanks
parent e94503ff5c
commit 3836cc1997
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ import {
faTimes,
} from '@fortawesome/free-solid-svg-icons';
library.add(faCalendarCheck, faArrowUp, faArrowDown, faTimes);
library.add(faChevronLeft, faChevronRight, faCalendarCheck, faArrowUp, faArrowDown, faTimes);
// Sadly needed to also replace <i> within the date picker, since it's not a React component.
dom.watch();