Skip to content

Commit 06a3577

Browse files
committed
Rename vector formatter types
1 parent be12fb9 commit 06a3577

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

redisinsight/ui/src/constants/keys.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ export enum KeyValueFormat {
146146
JAVA = 'Java serialized',
147147
Protobuf = 'Protobuf',
148148
Pickle = 'Pickle',
149-
Vector32Bit = 'Vector 32Bit',
150-
Vector64Bit = 'Vector 64Bit',
149+
Vector32Bit = 'Vector 32-bit',
150+
Vector64Bit = 'Vector 64-bit',
151151
}
152152

153153
export enum KeyValueCompressor {

redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-formatter/KeyDetailsHeaderFormatter.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ describe('KeyValueFormatter', () => {
2525
'Protobuf',
2626
'PHP serialized',
2727
'Java serialized',
28-
'Vector 32Bit',
29-
'Vector 64Bit',
28+
'Vector 32-bit',
29+
'Vector 64-bit',
3030
]
3131
render(<KeyDetailsHeaderFormatter {...mockedProps} />)
3232

redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-formatter/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ export const KEY_VALUE_FORMATTER_OPTIONS = [
4242
value: KeyValueFormat.JAVA,
4343
},
4444
{
45-
text: 'Vector 32Bit',
45+
text: 'Vector 32-bit',
4646
value: KeyValueFormat.Vector32Bit,
4747
},
4848
{
49-
text: 'Vector 64Bit',
49+
text: 'Vector 64-bit',
5050
value: KeyValueFormat.Vector64Bit,
5151
},
5252
]

tests/e2e/test-data/formatters-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ export const formatters = [{
2020
formattedText: '[ { "1": 2009 }, { "2": 344 } ]'
2121
},
2222
{
23-
format: 'Vector 32Bit',
23+
format: 'Vector 32-bit',
2424
fromHexText: '0000803f0000004000004040',
2525
formattedText: '[ 1.0, 2.0, 3.0 ]',
2626
},
2727
{
28-
format: 'Vector 64Bit',
28+
format: 'Vector 64-bit',
2929
fromHexText: '000000000000f03f00000000000000400000000000000840',
3030
formattedText: '[ 1.0, 2.0, 3.0 ]',
3131
},

0 commit comments

Comments
 (0)