@lysaab/lysa-pep 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,8 @@ import { roleAlternatives, militaryAlternatives } from "../pages/PepRolePage";
|
|
|
6
6
|
import { EntityType, PepType } from "../pages/PepContext";
|
|
7
7
|
export const PepAnswers = ({ answer }) => {
|
|
8
8
|
if (!answer.type || answer.type === PepType.NOT_PEP) {
|
|
9
|
-
return React.createElement("div", null,
|
|
9
|
+
return React.createElement("div", null,
|
|
10
|
+
React.createElement("p", null, "Personen \u00E4r inte PEP"));
|
|
10
11
|
}
|
|
11
12
|
const labels = LABELS("");
|
|
12
13
|
const country = countries.find(country => country.value === answer.country);
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ interface Props {
|
|
|
12
12
|
|
|
13
13
|
export const PepAnswers: FunctionComponent<Props> = ({ answer }) => {
|
|
14
14
|
if (!answer.type || answer.type === PepType.NOT_PEP) {
|
|
15
|
-
return <div>
|
|
15
|
+
return <div><p>Personen är inte PEP</p></div>;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
const labels = LABELS("");
|