This repository was archived by the owner on Apr 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ export const showCloudInstallationProblemNotification = () => {
2020 }
2121 const notificationComponent = createUINotification ( {
2222 ...uiNotification ,
23- success : false ,
23+ error : true ,
2424 leftContent : (
2525 < S . NodeIconContainer >
26- < Icon name = "gear" size = "large" />
26+ < Icon name = "gear" size = "large" color = "error" />
2727 </ S . NodeIconContainer >
2828 ) ,
2929 } )
@@ -44,10 +44,10 @@ export const showCloudConnectionProblemNotification = () => {
4444 }
4545 const notificationComponent = createUINotification ( {
4646 ...uiNotification ,
47- success : false ,
47+ error : true ,
4848 leftContent : (
4949 < S . NodeIconContainer >
50- < Icon name = "gear" size = "large" />
50+ < Icon name = "gear" size = "large" color = "error" />
5151 </ S . NodeIconContainer >
5252 ) ,
5353 } )
Original file line number Diff line number Diff line change 11import styled from "styled-components"
2- import { getColor , getSizeBy } from "@netdata/netdata-ui"
2+ import { getSizeBy } from "@netdata/netdata-ui"
33
44export const NodeIconContainer = styled . div `
55 width: ${ getSizeBy ( 5 ) } ;
@@ -8,9 +8,6 @@ export const NodeIconContainer = styled.div`
88 display: flex;
99 justify-content: center;
1010 align-items: center;
11- & > svg use {
12- fill: ${ getColor ( [ "neutral" , "limedSpruce" ] ) } ;
13- }
1411`
1512
1613export const NotificationLink = styled . a `
Original file line number Diff line number Diff line change @@ -32,5 +32,4 @@ export const HeaderText = styled(Text)<{ error?: boolean; success?: boolean }>`
3232export const ContentText = styled ( TextSmall ) < { error ?: boolean ; success ?: boolean } > `
3333 display: block;
3434 color: ${ ( { error } ) => ( error && getColor ( "error" ) ) || getColor ( "text" ) } ;
35- font-weight: ${ ( { error } ) => error && "bold" } ;
3635`
You can’t perform that action at this time.
0 commit comments