mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
merge with geojson easify repo
This commit is contained in:
@@ -73,7 +73,7 @@ class PrepareForBtcMapItem extends Component
|
|||||||
{
|
{
|
||||||
$this->model = $this->meetup->city;
|
$this->model = $this->meetup->city;
|
||||||
$this->population = $this->model->population;
|
$this->population = $this->model->population;
|
||||||
$this->population_date = $this->model->population_date;
|
$this->population_date = $this->model->population_date ?? '2021-12-31';
|
||||||
$this->getSearchResults();
|
$this->getSearchResults();
|
||||||
if ($this->osm_id) {
|
if ($this->osm_id) {
|
||||||
$this->selectedItemOSMPolygons = collect($this->osmSearchResults)
|
$this->selectedItemOSMPolygons = collect($this->osmSearchResults)
|
||||||
@@ -283,9 +283,9 @@ class PrepareForBtcMapItem extends Component
|
|||||||
|
|
||||||
public function updatedPopulation($value)
|
public function updatedPopulation($value)
|
||||||
{
|
{
|
||||||
$this->model->population = (int) str($value)
|
$this->model->population = str($value)
|
||||||
->replace(['.', ','], '')
|
->replace(['.', ','], '')
|
||||||
->toString();
|
->toInteger();
|
||||||
$this->model->save();
|
$this->model->save();
|
||||||
|
|
||||||
$this->notification()
|
$this->notification()
|
||||||
|
|||||||
Reference in New Issue
Block a user