роут для согдания первого админа выведен из авторизации
This commit is contained in:
parent
6a11daeda7
commit
1c6c17f808
@ -13,7 +13,7 @@ class AdminMenu extends Component
|
|||||||
public $userId;
|
public $userId;
|
||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
$this->userId = auth()->user()->id;
|
$this->userId = auth()->user()?->id;
|
||||||
}
|
}
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user