1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 06:24:19 +00:00

🐛 Fix coordinates error

This commit is contained in:
Steffo 2021-05-24 14:52:50 +02:00
parent 72868d8574
commit fa4625011d
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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() {