From fa4625011d98c33ead457d18b29ae2f3b8b0cf40 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 24 May 2021 14:52:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20coordinates=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nest_frontend/objects/Filter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nest_frontend/objects/Filter.js b/nest_frontend/objects/Filter.js index ddbe89d..0a00f9d 100644 --- a/nest_frontend/objects/Filter.js +++ b/nest_frontend/objects/Filter.js @@ -8,6 +8,7 @@ import { faLocationArrow, faMapMarkerAlt, faRetweet, } from "@fortawesome/free-solid-svg-icons" +import Coordinates from "./Coordinates" /** @@ -184,7 +185,7 @@ export class FilterInsideMapArea extends FilterWithLocation { return false } - return this.mapArea.includes(tweet.location) + return this.mapArea.includes(Coordinates.fromCrawlerString(tweet.location)) } display() {