feat(employee-list): Added search functionality using API. (TV-221)
Squashed commit of the following: commit 4b93fcf4b8442a30c8d56cf8364f710b2d24c4e2 Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Jun 14 15:50:17 2021 +0200 Added fullName inside mock-api and filtering using api
This commit is contained in:
@@ -28,6 +28,7 @@ function generateEmployees(amount = 10) {
|
||||
createdAt: Date.now(),
|
||||
};
|
||||
|
||||
person.fullName = `${person.firstName} ${person.lastName}`;
|
||||
employees.push(person);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user