Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added styling rules for relationship color (cherrypicked) #537

Merged
merged 9 commits into from
Aug 1, 2023
Prev Previous commit
Refactor
  • Loading branch information
nielsdejong committed Aug 1, 2023
commit 59d1e15afdafe0dbeacb779f4c077da65b5906b7
16 changes: 8 additions & 8 deletions src/report/Report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ export const NeoReport = ({
useReturnValuesAsFields,
HARD_ROW_LIMITING,
queryTimeLimit,
(fields) => {
setSchema(id, fields);
(schema) => {
setSchema(id, schema);
}
);
} else {
Expand All @@ -140,8 +140,8 @@ export const NeoReport = ({
useReturnValuesAsFields,
HARD_ROW_LIMITING,
queryTimeLimit,
(fields) => {
setSchema(id, fields);
(schema) => {
setSchema(id, schema);
}
);
}
Expand Down Expand Up @@ -215,8 +215,8 @@ export const NeoReport = ({
false,
HARD_ROW_LIMITING,
queryTimeLimit,
(fields) => {
setSchema(id, fields);
(schema) => {
setSchema(id, schema);
}
);
},
Expand Down Expand Up @@ -341,8 +341,8 @@ const mapDispatchToProps = (dispatch) => ({
getCustomDispatcher: () => {
return dispatch;
},
setSchema: (id: any, fields: any) => {
dispatch(updateFieldsThunk(id, fields, true));
setSchema: (id: any, schema: any) => {
dispatch(updateFieldsThunk(id, schema, true));
},
});

Expand Down
2 changes: 1 addition & 1 deletion src/report/ReportQueryRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function runCypherQuery(
queryTimeLimit = 20,
setSchema = (schema) => {
// eslint-disable-next-line no-console
console.log(`Query runner attempted to set all fields: ${JSON.stringify(schema)}`);
console.log(`Query runner attempted to set schema: ${JSON.stringify(schema)}`);
}
) {
// If no query specified, we don't do anything.
Expand Down
Loading