Skip to content

Commit 4bf126f

Browse files
authored
RI-7399: update add db button styles (#5163)
1 parent cbc5242 commit 4bf126f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

redisinsight/ui/src/pages/home/components/database-list-header/DatabaseListHeader.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
PrimaryButton,
3232
SecondaryButton,
3333
} from 'uiSrc/components/base/forms/buttons'
34-
import { ColumnsIcon } from 'uiSrc/components/base/icons'
34+
import { ColumnsIcon, PlusIcon } from 'uiSrc/components/base/icons'
3535
import { Checkbox } from 'uiSrc/components/base/forms/checkbox/Checkbox'
3636
import handleClickFreeCloudDb from '../database-list-component/methods/handleClickFreeCloudDb'
3737
import SearchDatabasesList from '../search-databases-list'
@@ -130,8 +130,9 @@ const DatabaseListHeader = ({ onAddInstance }: Props) => {
130130
<PrimaryButton
131131
onClick={handleClickFreeCloudDb}
132132
data-testid={`${CREATE_CLOUD_DB_ID}-button`}
133+
icon={PlusIcon}
133134
>
134-
+ Create Free Cloud DB
135+
Create Free Cloud database
135136
</PrimaryButton>
136137
</FeatureFlagComponent>
137138
)
@@ -141,8 +142,9 @@ const DatabaseListHeader = ({ onAddInstance }: Props) => {
141142
<SecondaryButton
142143
onClick={handleOnAddDatabase}
143144
data-testid="add-redis-database-short"
145+
icon={PlusIcon}
144146
>
145-
+ Connect Existing DB
147+
Connect existing database
146148
</SecondaryButton>
147149
</FeatureFlagComponent>
148150
)

0 commit comments

Comments
 (0)