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 cea25b5 commit 527b99fCopy full SHA for 527b99f
packages/compass-query-bar/src/stores/query-bar-reducer.ts
@@ -103,8 +103,9 @@ export const changeField = (
103
return (dispatch, getState, { preferences }) => {
104
const parsedValue = validateField(name, stringValue, {
105
maxTimeMS: preferences.getPreferences().maxTimeMS ?? undefined,
106
- showMaxTimeMSWarning:
107
- Boolean(preferences.getPreferences().showMaxTimeMSWarning),
+ showMaxTimeMSWarning: Boolean(
+ preferences.getPreferences().showMaxTimeMSWarning
108
+ ),
109
});
110
const isValid = parsedValue !== false;
111
dispatch({
0 commit comments