Skip to content

Commit ff45cca

Browse files
committed
Updated community.blade.php
1 parent 4cc3bb9 commit ff45cca

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

resources/views/community.blade.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,7 @@ class="codeweek-svg-button">
253253
254254
@foreach($teachers->groupBy('city_id') as $cityId => $teachersInCity)
255255
256-
@if(isset($teachersInCity[0]->city) && $teachersInCity[0]->city->latitude && $teachersInCity[0]->city->longitude)
257-
$marker = L.marker([{{$teachersInCity[0]->city->latitude}}, {{$teachersInCity[0]->city->longitude}}]).addTo(mymap)
258-
@endif
256+
$marker = L.marker([{{$teachersInCity[0]->city->latitude}}, {{$teachersInCity[0]->city->longitude}}]).addTo(mymap)
259257
260258
$teachersList = "";
261259
@foreach($teachersInCity as $teacher)

0 commit comments

Comments
 (0)