-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change ppp iframe link,display error message in surge pages #445
Changes from all commits
2330ad4
149d6b1
3e8ad2d
1666240
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
"personnelTableType": "Type", | ||
"personnelTableDeployedTo": "Deploying To", | ||
"personnelTableDeployedParty": "Deploying Party", | ||
"deployedPersonnelViewAll": "View All Deployed Personnel" | ||
"deployedPersonnelViewAll": "View All Deployed Personnel", | ||
"emergencySurgePartyNotFound": "sorry, this party has no one matching country to be shown" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's remove this |
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,10 +140,17 @@ export default function RapidResponsePersonnelTable(props: Props) { | |
'country_from', | ||
strings.personnelTableDeployedParty, | ||
(item) => item.country_from?.society_name, | ||
(item) => ({ | ||
to: 'countriesLayout', | ||
urlParams: { countryId: item.country_from?.id }, | ||
}), | ||
(item) => { | ||
if (isDefined(item.country_from?.record_type === 3)) { | ||
return { | ||
to: undefined, | ||
}; | ||
Comment on lines
+143
to
+147
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's add a note There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's use a constant to denote region type. |
||
} | ||
return { | ||
to: 'countriesLayout', | ||
urlParams: { countryId: item.country_from?.id }, | ||
}; | ||
}, | ||
{ sortable: true }, | ||
), | ||
createLinkColumn<PersonnelTableItem, number>( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a NOTE here.
// NOTE: we don't have the correct mapping for region