fix: Test preview - Routing forms crash for regular teams(that are not sub-teams) (#19353)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2025-02-19 08:20:26 +00:00
1 parent d3f1dc1b32
commit 17fcc2c213
4 files changed
+78 -18

No files matched your search

@@ -38,7 +38,11 @@ export default function InsightsVirtualQueuesPage() {
value={selectedForm ? { label: selectedForm.name, value: selectedForm.id } : undefined}
/>
<div className="mt-10">
{selectedForm ? <TestForm form={selectedForm} showAllData={false} /> : <></>}
{selectedForm ? (
<TestForm form={selectedForm} supportsTeamMembersMatchingLogic={true} showAllData={false} />
) : (
<></>
)}
</div>
</>
);