Skip to content

Commit

Permalink
Contents of a layout region get duplicated after save #9753
Browse files Browse the repository at this point in the history
(cherry picked from commit 6a796c1)
  • Loading branch information
ashklianko authored and rymsha committed Oct 3, 2022
1 parent ed75e46 commit 8042f1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ private boolean isItemDescendantOf( final PropertySet item, final String parentP

private boolean isItemPathStartsWith( final String itemPath, final String parentPath )
{
return parentPath == ComponentPath.DIVIDER || itemPath.startsWith( parentPath + ComponentPath.DIVIDER );
return ComponentPath.DIVIDER.equals( parentPath ) || itemPath.startsWith( parentPath + ComponentPath.DIVIDER );
}
}

0 comments on commit 8042f1b

Please sign in to comment.