Merge pull request #283 from ControlPanel-gg/product_linking

oops
This commit is contained in:
AVMG 2021-11-12 21:27:11 +01:00 committed by GitHub
commit a0155a22eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}