diff --git a/src/components/icons/WellIcon.tsx b/src/components/icons/WellIcon.tsx index a0f66a2..9154d85 100755 --- a/src/components/icons/WellIcon.tsx +++ b/src/components/icons/WellIcon.tsx @@ -16,7 +16,7 @@ export type WellIconProps = React.SVGProps & { } const defaultColors: WellIconColors = { - online: '#C32828', + online: 'white', active: 'white', inactive: '#A7A7A7', unknown: '#7B7B7B', @@ -53,7 +53,7 @@ export const WellIcon = React.memo(({ width, height, state, online, colors, ...o - {online || ( // Полоски, показывающие наличие свежей телеметрии + {online && ( // Полоски, показывающие наличие свежей телеметрии diff --git a/src/components/selectors/WellTreeSelector.tsx b/src/components/selectors/WellTreeSelector.tsx index a5fa44f..2477ba1 100755 --- a/src/components/selectors/WellTreeSelector.tsx +++ b/src/components/selectors/WellTreeSelector.tsx @@ -10,7 +10,7 @@ import { isRawDate } from '@utils' import { ReactComponent as DepositIcon } from '@images/components/well_tree_selector/DepositIcon.svg' import { ReactComponent as ClusterIcon } from '@images/components/well_tree_selector/ClusterIcon.svg' -import '@styles/components/well_tree_select.css' +import '@styles/components/well_tree_select.less' /** * Для поиска в URL текущего раздела по шаблону `/{type}/{id}` @@ -175,6 +175,7 @@ export const WellTreeSelector = memo(({ expand, current,