EQMS-1410 Fix survey location resolver (#7736)

This commit is contained in:
Alexander Onnikov 2025-01-20 21:43:56 +07:00 committed by GitHub
parent 60b8a8cba3
commit 7b58315863
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,6 +100,10 @@ export async function resolveLocation (loc: Location): Promise<ResolvedLocation
return undefined
}
if (loc.path[3] === undefined) {
return undefined
}
if (loc.path[3] === 'surveys') {
return undefined
}