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 Oct 8, 2024
1 parent 7563cd0 commit 521b80e
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 521b80e

Please sign in to comment.