From 6bad46e4e707b5e7025187c3a117d36fdbdb8053 Mon Sep 17 00:00:00 2001 From: AVMG20 Date: Fri, 12 Nov 2021 20:26:39 +0100 Subject: [PATCH] oops --- resources/views/servers/create.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/servers/create.blade.php b/resources/views/servers/create.blade.php index e6b89fd7..1ec98b90 100644 --- a/resources/views/servers/create.blade.php +++ b/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; }