mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: update key generation in MyOnCallPoliciesScreen to handle undefined policyId
This commit is contained in:
@@ -340,7 +340,7 @@ export default function MyOnCallPoliciesScreen(): React.JSX.Element {
|
||||
|
||||
return (
|
||||
<View
|
||||
key={`${assignment.projectId}-${assignment.policyId ?? assignmentIndex}`}
|
||||
key={`${assignment.projectId}-${assignment.policyId ?? "unknown"}-${assignmentIndex}`}
|
||||
style={{
|
||||
paddingHorizontal: 20,
|
||||
paddingVertical: 16,
|
||||
|
||||
Reference in New Issue
Block a user