Skip to content

Commit

Permalink
Merge pull request #699 from DEFRA/fix/507079-edit-page-path-bug-in-v2
Browse files Browse the repository at this point in the history
Use the saved page path state when building the page condition drop down
  • Loading branch information
davidjamesstone authored Feb 10, 2025
2 parents 92a093b + ab9def8 commit 9bc5652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designer/client/src/PageEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ export class PageEdit extends Component<Props, State> {

{hasEditPageCondition && (
<SelectConditions
path={path}
path={page.path}
selectedCondition={selectedPageCondition}
conditionsChange={this.pageConditionSelected}
noFieldsHintText={i18n('conditions.noFieldsAvailable')}
Expand Down

0 comments on commit 9bc5652

Please sign in to comment.