We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8baf6ba commit dd83297Copy full SHA for dd83297
redisinsight/ui/src/pages/workbench/components/wb-view/WBViewWrapper.tsx
@@ -164,11 +164,12 @@ const WBViewWrapper = () => {
164
const { loading, batchSize } = state
165
const isNewCommand = () => !commandId
166
const getChunkSize = () => {
167
- if (resultsMode === ResultsMode.GroupMode) {
+ if (state.resultsMode === ResultsMode.GroupMode) {
168
return splitMonacoValuePerLines(commandInit).length
169
}
170
return batchSize > 1 ? batchSize : 1
171
172
+
173
const commandsForExecuting = splitMonacoValuePerLines(removeMonacoComments(commandInit))
174
.map((command) => removeMonacoComments(decode(command).trim()))
175
const [commands, ...rest] = chunk(commandsForExecuting, getChunkSize())
0 commit comments