Skip to content

Commit 4b95bf2

Browse files
committed
add note to readme, fix activities not loading
1 parent bc9fdcb commit 4b95bf2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
We would like you to setup this application on your local environment, we will give you some challenges to implement during our interview on this codebase.
1010

11+
Please note that you might need to refresh the Activities page a couple of times in order to see results. This is intentional and not a sign of the application not working.
12+
1113
# Requirements
1214

1315
- Please make sure you have [Node.js](https://nodejs.org/) version 18.3 or higher

src/services/activity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
let activities = [];
1313

1414
// supplier IDs below 200 are for testing purposes only
15-
if (data.some(activity => activity.supplierId <= 200)) {
15+
if (data.some(activity => activity.supplierId > 200)) {
1616
activities = [];
1717
} else {
1818
activities = data;

0 commit comments

Comments
 (0)