[x] This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
[ ] My work includes tests or is validated by existing tests.
Summary
When creating a new form in the schema editor, an empty tab is currently rendered. This occurs due to the misplacement of the conditional check that controls the rendering of the 'Audit Details' tab.
This PR addresses the issue by relocating the conditional check to its correct position. Now, the 'Audit Details' tab will only render when a form schema already exists, which aligns with the intended behavior.
Unrelated: I've also fixed the translation string for the formBuilder key.
Requirements
Summary
When creating a new form in the schema editor, an empty tab is currently rendered. This occurs due to the misplacement of the conditional check that controls the rendering of the 'Audit Details' tab.
This PR addresses the issue by relocating the conditional check to its correct position. Now, the 'Audit Details' tab will only render when a form schema already exists, which aligns with the intended behavior.
Unrelated: I've also fixed the translation string for the
formBuilder
key.Screenshots
Related Issue
Other