浏览代码

Merge pull request #283 from ControlPanel-gg/product_linking

oops
AVMG 3 年之前
父节点
当前提交
a0155a22eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/servers/create.blade.php

+ 1 - 1
resources/views/servers/create.blade.php

@@ -368,7 +368,7 @@
 
                     //automatically select the first entry if there is only 1
                     if (this.locations.length === 1 && this.locations[0]?.nodes?.length === 1) {
-                        this.selectedNode = this.locations[0]?.nodes?.id;
+                        this.selectedNode = this.locations[0]?.nodes[0]?.id;
                         await this.fetchProducts();
                         return;
                     }