Skip to content

Commit 1a46df1

Browse files
committed
refactor: use savePipeline and deleteWorkflow from common
2 parents 362f5fe + 14c4fb0 commit 1a46df1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/common/DynamicTabs/useTabs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export function useTabs(persistenceKey: string, fallbackTabIndex = FALLBACK_TAB)
215215
})
216216
}
217217
if (!_tabs.some((_tab) => _tab.isSelected)) {
218-
_tabs[FALLBACK_TAB].isSelected = true
218+
_tabs[fallbackTabIndex].isSelected = true
219219
}
220220

221221
_tabs.sort((a, b) => {

src/components/workflowEditor/nodes/CDNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export class CDNode extends Component<CDNodeProps, CDNodeState> {
391391
showAriaLabelInTippy
392392
onClick={this.handleDeleteCDNode}
393393
style={ButtonStyleType.negativeGrey}
394-
icon={<Icon name="ic-delete" color={null} strokeWidth={1} size={12} />}
394+
icon={<Icon name="ic-delete" color={null} size={12} />}
395395
showTooltip
396396
tooltipProps={{
397397
placement: 'right',

0 commit comments

Comments
 (0)