Skip to content

Commit def29a1

Browse files
committed
#RI-4428 - add action to first open
1 parent 8ccbec8 commit def29a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.spec.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ describe('BulkActions', () => {
140140
eventData: {
141141
databaseId: 'instanceId',
142142
match: '*',
143-
filterType: 'hash'
143+
filterType: 'hash',
144+
action: 'delete'
144145
}
145146
});
146147

redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const BulkActions = (props: Props) => {
4848
databaseId: instanceId,
4949
filterType: filter,
5050
match: (search && search !== DEFAULT_SEARCH_MATCH) ? getMatchType(search) : DEFAULT_SEARCH_MATCH,
51+
action: type
5152
}
5253
})
5354
}, [])

0 commit comments

Comments
 (0)