mirror of
https://github.com/JonasunderscoreJones/jonasjones.dev.git
synced 2025-10-23 00:49:19 +02:00
Fixed project search
This commit is contained in:
parent
90f10a35ae
commit
7aae92fca2
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
||||||
"https://cdn.jonasjones.dev/api/projects/projects.json"
|
"https://cdn.jonasjones.dev/api/projects/projects.json"
|
||||||
);
|
);
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
projects = data;
|
projects = data.slice(1); // remove first element as it is the last_update timestamp of the file
|
||||||
searchResults = projects.filter((project) => {
|
searchResults = projects.filter((project) => {
|
||||||
return project.visible === true;
|
return project.visible === true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue