Skip to content

Commit f6deff4

Browse files
committed
fixes typo & removes hardcoded icon
1 parent 533bd30 commit f6deff4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

app/javascript/components/miq-data-table/miq-table-cell.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ const MiqTableCell = ({
7777
};
7878

7979
const returnIcon = (icon, style, styledIconClass, longerTextClass, index = undefined) => {
80-
icon = 'carbon--Migrate';
8180
const extraProps = {};
8281
if (index !== undefined) {
8382
extraProps.key = index.toString();

lib/gtl_formatter.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ class GtlFormatter
3939
'orphaned' => 'carbon--Unlink',
4040
'retired' => 'carbon--Time',
4141
'non_operational' => 'carbon--WarningSquare',
42-
'suspended' => 'carbon--asleep',
43-
'standby' => 'carbon--asleep',
44-
'paused' => 'carbon--asleep',
42+
'suspended' => 'carbon--Asleep',
43+
'standby' => 'carbon--Asleep',
44+
'paused' => 'carbon--Asleep',
4545
'disconnecting' => 'carbon--FlashOff',
4646
'image_locked' => 'carbon--Locked',
4747
'migrating' => 'carbon--Migrate',
4848
'shelved' => 'carbon--Hourglass',
4949
'shelved_offloaded' => 'carbon--Hourglass',
5050
'reboot_in_progress' => 'carbon--Power',
51-
'wait_for_launch' => 'carbon--asleep',
51+
'wait_for_launch' => 'carbon--Asleep',
5252
'on' => 'carbon--Power',
5353
'never' => 'carbon--Power',
5454
'terminated' => 'carbon--Power',

0 commit comments

Comments
 (0)