mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
remove weather
This commit is contained in:
@@ -14,13 +14,13 @@ class MempoolWeather extends Component
|
||||
|
||||
public function mount()
|
||||
{
|
||||
if (cache()->has('mempool-weather')) {
|
||||
/*if (cache()->has('mempool-weather')) {
|
||||
$this->weather = cache()->get('mempool-weather');
|
||||
} else {
|
||||
Artisan::call(CacheRecommendedFees::class);
|
||||
$this->weather = cache()->get('mempool-weather');
|
||||
}
|
||||
$this->changed = cache()->get('mempool-weather-changed');
|
||||
$this->changed = cache()->get('mempool-weather-changed');*/
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@@ -137,7 +137,10 @@ class Header extends Component
|
||||
->orderByDesc('date')
|
||||
->take(2)
|
||||
->get(),
|
||||
'projectProposals' => ProjectProposal::query()->with(['votes'])->get(),
|
||||
'projectProposals' => ProjectProposal::query()->with([
|
||||
'votes',
|
||||
'user',
|
||||
])->get(),
|
||||
'cities' => City::query()
|
||||
->select(['latitude', 'longitude'])
|
||||
->get(),
|
||||
|
||||
Reference in New Issue
Block a user