From ff652d342675c3d6667c83585b7e017ef106c723 Mon Sep 17 00:00:00 2001 From: koalasat Date: Fri, 18 Oct 2024 23:13:41 +0200 Subject: [PATCH] Fix robot population --- frontend/src/models/Garage.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/models/Garage.model.ts b/frontend/src/models/Garage.model.ts index 3dc4c685b..59093571f 100644 --- a/frontend/src/models/Garage.model.ts +++ b/frontend/src/models/Garage.model.ts @@ -141,7 +141,6 @@ class Garage { encPrivKey: key.encryptedPrivateKeyArmored, }; - void this.fetchRobot(federation, token); this.setCurrentSlot(token); this.slots[token] = new Slot( token, @@ -151,6 +150,7 @@ class Garage { this.triggerHook('onSlotUpdate'); }, ); + void this.fetchRobot(federation, token); this.save(); }) .catch((error) => {