mirror of https://github.com/prometheus/prometheus
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
parent
e94503ff5c
commit
3836cc1997
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue