mirror of
https://github.com/apache/superset.git
synced 2026-06-01 05:39:17 +00:00
fix(no-restricted-imports): Fix overrides and include no-fa-icons-usage (#32571)
This commit is contained in:
@@ -187,6 +187,8 @@ class AnnotationLayerControl extends PureComponent<Props, PopoverState> {
|
||||
const { annotationError, annotationQuery, theme } = this.props;
|
||||
if (annotationQuery[anno.name]) {
|
||||
return (
|
||||
// TODO: Remove fa-icon
|
||||
// eslint-disable-next-line icons/no-fa-icons-usage
|
||||
<i
|
||||
className="fa fa-refresh"
|
||||
style={{ color: theme.colors.primary.base }}
|
||||
@@ -261,6 +263,8 @@ class AnnotationLayerControl extends PureComponent<Props, PopoverState> {
|
||||
}
|
||||
>
|
||||
<CustomListItem selectable>
|
||||
{/* TODO: Remove fa-icon */}
|
||||
{/* eslint-disable-next-line icons/no-fa-icons-usage */}
|
||||
<i
|
||||
data-test="add-annotation-layer-button"
|
||||
className="fa fa-plus"
|
||||
|
||||
Reference in New Issue
Block a user