Skip to content

Commit f6ce538

Browse files
committed
Merge branch 'improvement/ARTESCA-16840-exclamation-triangle-to-circle' into q/132.0
2 parents cfd6b14 + e4bffca commit f6ce538

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

ui/src/components/ActiveAlertsCounter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const ActiveAlertsCounter = (props) => {
8282
>
8383
<CounterTitle>Warning</CounterTitle>
8484
<CounterValueWrapper>
85-
<CounterIcon name="Exclamation-triangle" status={STATUS_WARNING} />
85+
<CounterIcon name="Exclamation-circle" status={STATUS_WARNING} />
8686
<CounterValue>{warningCounter}</CounterValue>
8787
</CounterValueWrapper>
8888
</CounterWrapper>

ui/src/components/DashboardAlerts.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { Text, TextBadge } from '@scality/core-ui';
1+
import { spacing, Text, TextBadge } from '@scality/core-ui';
22
import { Box } from '@scality/core-ui/dist/next';
3-
import { spacing } from '@scality/core-ui/dist/style/theme';
43
import { useMemo } from 'react';
54
import { useIntl } from 'react-intl';
65
import styled from 'styled-components';
@@ -19,7 +18,7 @@ const AlertsContainer = styled.div`
1918
const BadgesContainer = styled.div`
2019
display: flex;
2120
& > div {
22-
margin-right: ${spacing.sp16};
21+
margin-right: ${spacing.r16};
2322
}
2423
`;
2524
const Link = styled.div`

ui/src/containers/CreateVolume.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,11 @@ const CreateVolume = (props) => {
422422
error = intl.formatMessage(
423423
isLabelPrefixMatched
424424
? {
425-
id: 'label_name_error',
426-
}
425+
id: 'label_name_error',
426+
}
427427
: {
428-
id: 'label_prefix_name_error',
429-
},
428+
id: 'label_prefix_name_error',
429+
},
430430
);
431431
} else {
432432
error = intl.formatMessage({
@@ -683,7 +683,7 @@ const CreateVolume = (props) => {
683683
isStorageClassExist ? null : (
684684
<Banner
685685
variant="warning"
686-
icon={<Icon name="Exclamation-triangle" />}
686+
icon={<Icon name="Exclamation-circle" />}
687687
title={intl.formatMessage({
688688
id: 'no_storage_class_found',
689689
})}

ui/src/containers/NodeCreateForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const NodeCreateForm = () => {
120120
asyncErrors &&
121121
asyncErrors.create_node && (
122122
<Banner
123-
icon={<Icon name="Exclamation-triangle" />}
123+
icon={<Icon name="Exclamation-circle" />}
124124
title="Error"
125125
variant="danger"
126126
>
@@ -207,8 +207,8 @@ const NodeCreateForm = () => {
207207
values.infra
208208
)
209209
? intl.formatMessage({
210-
id: 'role_values_error',
211-
})
210+
id: 'role_values_error',
211+
})
212212
: undefined
213213
}
214214
content={

0 commit comments

Comments
 (0)