Skip to content

Commit

Permalink
Update frontend/packages/ux-editor/src/components/Elements/ElementsUt…
Browse files Browse the repository at this point in the history
…ils.ts

Co-authored-by: Jonas Dyrlie <jonas.dyrlie@gmail.com>
  • Loading branch information
framitdavid and Jondyr authored Oct 4, 2024
1 parent 3c52349 commit 248bebb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class ElementsUtils {
selectedLayoutIsCustomReceipt,
selectedLayoutSetType,
processTaskType,
}: GetConfigurationModeArgs): ConfPageType {
}: GetConfigurationModeArgs): ConfPageType | undefined {
if (selectedLayoutIsCustomReceipt) {
return 'receipt';
}
Expand All @@ -23,5 +23,7 @@ export class ElementsUtils {
if (selectedLayoutSetType === 'subform') {
return 'subform';
}

return undefined;
}
}

0 comments on commit 248bebb

Please sign in to comment.