Skip to content

Commit

Permalink
chore(new-ui): fix assertView indents
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Sep 27, 2024
1 parent 4bcbe9b commit 0c05428
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ export const getTestSteps = createSelector(
}
});

if (!matchedStep) {
if (matchedStep) {
if (matchedStep.data.type === StepType.Action) {
matchedStep.data.hasChildren = true;
}
} else {
matchedStep = {
id: `${image.id} assertView`,
data: {
Expand Down

0 comments on commit 0c05428

Please sign in to comment.