Skip to content

Commit

Permalink
Add pipeline icon to tab for pipeline editor (#261)
Browse files Browse the repository at this point in the history
Unlike other tabs, prior to this any pipeline 
editor tab was missing an icon
  • Loading branch information
ajbozarth committed Feb 15, 2020
1 parent 1ace50f commit 8175448
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pipeline-editor/src/index.tsx
Expand Up @@ -543,6 +543,7 @@ class PipelineEditorFactory extends ABCWidgetFactory<DocumentWidget> {
const content = new Canvas(props);
const widget = new DocumentWidget({ content, context, node: document.createElement('div') });
widget.addClass(PIPELINE_CLASS);
widget.title.iconClass = PIPELINE_ICON_CLASS;
return widget;
}
}
Expand Down

0 comments on commit 8175448

Please sign in to comment.