A lot of things.
This commit is contained in:
@@ -14,7 +14,7 @@ class XfUserSelector extends Component
|
||||
public ?int $selected = null;
|
||||
public ?string $selectedUsername = null;
|
||||
|
||||
public function mount( ?int $initialUserId ){
|
||||
public function mount( ?int $initialUserId = null ){
|
||||
if( $initialUserId ){
|
||||
$user = DB::connection('xenforo')->table('user')->where('user_id', $initialUserId)->first();
|
||||
if( $user ){
|
||||
|
||||
Reference in New Issue
Block a user