mirror of
https://github.com/brian8544/turtle-wow.git
synced 2025-01-05 14:24:34 +00:00
34 lines
681 B
PHP
34 lines
681 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Livewire;
|
||
|
|
||
|
use Livewire\Component;
|
||
|
|
||
|
class ProfileBanAppealAction extends Component
|
||
|
{
|
||
|
public $user;
|
||
|
public $button;
|
||
|
public $unSeenMessages;
|
||
|
public $showClosedButton = false;
|
||
|
public $showPendingButton = false;
|
||
|
public $showBanAppealButton = false;
|
||
|
public $showApprovedButton = false;
|
||
|
|
||
|
public function mount()
|
||
|
{
|
||
|
$this->user = \Auth::guard('account')->user();
|
||
|
}
|
||
|
|
||
|
public function readAllMessages()
|
||
|
{
|
||
|
$this->dispatch('setMessageZero');
|
||
|
$this->seenMessages = 0;
|
||
|
$this->render();
|
||
|
}
|
||
|
|
||
|
public function render()
|
||
|
{
|
||
|
return view('livewire.profile-ban-appeal-action');
|
||
|
}
|
||
|
}
|