fix: new destination
This commit is contained in:
parent
cefb9e825d
commit
a7ff6e157d
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ public function mount()
|
||||||
{
|
{
|
||||||
if (request()->query('server_id')) {
|
if (request()->query('server_id')) {
|
||||||
$this->server_id = request()->query('server_id');
|
$this->server_id = request()->query('server_id');
|
||||||
|
} else {
|
||||||
|
$this->server_id = Server::first()->id;
|
||||||
}
|
}
|
||||||
$this->network = new Cuid2(7);
|
$this->network = new Cuid2(7);
|
||||||
$this->name = generateRandomName();
|
$this->name = generateRandomName();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue