Adjusted disability mock-data and service mapping to match api
This commit is contained in:
@@ -106,11 +106,7 @@ function generateDeltagare(amount = 10) {
|
||||
}))
|
||||
: [],
|
||||
},
|
||||
// disabilities: {
|
||||
// funktionsnedsattningar: Math.random() > 0.3 ? chooseRandom(DISABILITIES, faker.datatype.number(3)) : [],
|
||||
// },
|
||||
// TODO: Move to different structure. Temporary exposing disabilities in this structure as it is the way the API is exposing the data.
|
||||
disabilities: [Math.random() > 0.3 ? chooseRandom(DISABILITIES, faker.datatype.number(3)) : []],
|
||||
disabilities: Math.random() > 0.3 ? chooseRandom(DISABILITIES, faker.datatype.number(3)) : [],
|
||||
workExperiences: {
|
||||
arbetslivserfarenheter: chooseRandom(WORK_EXPERIENCES, faker.datatype.number(WORK_EXPERIENCES.length)),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user