i don't know how to compare objects in js
This commit is contained in:
parent
77bb6a545f
commit
185f8d6318
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ function load_random_site() {
|
|||
.then((obj) => {
|
||||
const entries = obj; // TODO: remove myself from the list
|
||||
const entries_cleaned = obj.filter((item) => {
|
||||
return !item.equals({
|
||||
return !item.is({
|
||||
name: "jjanzen's website",
|
||||
url: "https://jjanzen.ca",
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue