这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ const runQuery = tableSchema => {
return w;
}
if (colType === 'boolean') {
w[colName][opName] = val === 'true' ? true : false;
if (val === 'true') {
w[colName][opName] = true;
} else if (val === 'false') {
w[colName][opName] = false;
}
}
return w;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import dataHeaders from '../Common/Headers';
/* ****************** View actions *************/
const V_SET_DEFAULTS = 'ViewTable/V_SET_DEFAULTS';
const V_REQUEST_SUCCESS = 'ViewTable/V_REQUEST_SUCCESS';
const V_REQUEST_ERROR = 'ViewTable/V_REQUEST_ERROR';
const V_EXPAND_REL = 'ViewTable/V_EXPAND_REL';
const V_CLOSE_REL = 'ViewTable/V_CLOSE_REL';
const V_SET_ACTIVE = 'ViewTable/V_SET_ACTIVE';
Expand Down Expand Up @@ -101,7 +100,12 @@ const vMakeRequest = () => {
}
},
error => {
dispatch({ type: V_REQUEST_ERROR, data: error });
Promise.all([
dispatch(
showErrorNotification('Browse query failed!', error.error, error)
),
dispatch({ type: V_REQUEST_PROGRESS, data: false }),
]);
}
);
};
Expand Down