Skip to content

Commit

Permalink
feat:release templates strategy interaction improvements (#8992)
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek authored Dec 17, 2024
1 parent c8300fe commit 4503510
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const StyledName = styled(StringTruncator)(({ theme }) => ({

const StyledCard = styled('div')(({ theme }) => ({
display: 'grid',
cursor: 'pointer',
gridTemplateColumns: '3rem 1fr',
width: '20rem',
padding: theme.spacing(2),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const MilestoneStrategySegmentList = ({
const lastSegmentIndex = segments.length - 1;

if (segments.length === 0) {
console.log('segments.length === 0');
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ export const TemplateForm: React.FC<ITemplateFormProps> = ({
<SidebarModal
label='Add strategy to template milestone'
onClose={() => {
setAddUpdateStrategyOpen(false);
setStrategyModeEdit(false);
}}
open={addUpdateStrategyOpen}
Expand All @@ -205,6 +206,7 @@ export const TemplateForm: React.FC<ITemplateFormProps> = ({
onAddUpdateStrategy={addUpdateStrategy}
onCancel={() => {
setAddUpdateStrategyOpen(false);
setStrategyModeEdit(false);
}}
editMode={strategyModeEdit}
/>
Expand Down

0 comments on commit 4503510

Please sign in to comment.