mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
Fix/clean errors (#191)
* clean dev errors
* add check command
* yarn -> npm in travis
* fix all warnings
* fix base test
* 💄
This commit is contained in:
@@ -380,6 +380,7 @@ export function getFilterIdxFromColorSet(filter, coloringSet) {
|
||||
coloringSet.map((set, idx) => {
|
||||
const foundIdx = set.indexOf(filter);
|
||||
if (foundIdx !== -1) filterIdx = idx;
|
||||
return null;
|
||||
});
|
||||
return filterIdx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user