mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
switch year
This commit is contained in:
@@ -14,6 +14,13 @@ class BitcoinEventTable extends Component
|
|||||||
|
|
||||||
protected $queryString = ['year'];
|
protected $queryString = ['year'];
|
||||||
|
|
||||||
|
public function mount()
|
||||||
|
{
|
||||||
|
if (!$this->year) {
|
||||||
|
$this->year = now()->year;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
return view('livewire.bitcoin-event.bitcoin-event-table', [
|
return view('livewire.bitcoin-event.bitcoin-event-table', [
|
||||||
|
|||||||
Reference in New Issue
Block a user