Skip to content

Commit

Permalink
Show empty properties in node tooltip (elyra-ai#700)
Browse files Browse the repository at this point in the history
Update Pipeline node hover tooltip to always show empty properties
  • Loading branch information
vabarbosa authored Jun 30, 2020
1 parent 0c5d414 commit ac08254
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/pipeline-editor/src/PipelineEditorWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,7 @@ export class PipelineEditor extends React.Component<

propsInfo.forEach(
(info: { parameter_ref: string; label: { default: string } }) => {
if (
Object.prototype.hasOwnProperty.call(appData, info.parameter_ref)
) {
tooltipProps[info.label.default] = appData[info.parameter_ref];
}
tooltipProps[info.label.default] = appData[info.parameter_ref] || '';
}
);

Expand Down

0 comments on commit ac08254

Please sign in to comment.