aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-04-16 13:20:09 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2024-04-16 13:20:09 +0530
commit962804e4dc0933cd683f2ee115efa7fb70a1a791 (patch)
treebe540511b7dfab7b0a87d713dbec5c3fa3a7c976 /src/api
parent6.7.3-nightly.11 [skip ci] (diff)
downloadferdium-app-962804e4dc0933cd683f2ee115efa7fb70a1a791.tar.gz
ferdium-app-962804e4dc0933cd683f2ee115efa7fb70a1a791.tar.zst
ferdium-app-962804e4dc0933cd683f2ee115efa7fb70a1a791.zip
to fix 'login' and 'add new service' screens
Diffstat (limited to 'src/api')
-rw-r--r--src/api/server/ServerApi.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/server/ServerApi.ts b/src/api/server/ServerApi.ts
index ab6866b13..b5dd499ab 100644
--- a/src/api/server/ServerApi.ts
+++ b/src/api/server/ServerApi.ts
@@ -379,7 +379,8 @@ export default class ServerApi {
379 .filter(recipe => recipe.id); 379 .filter(recipe => recipe.id);
380 380
381 // @ts-expect-error Type 'boolean' is not assignable to type 'ConcatArray<IRecipe>'. 381 // @ts-expect-error Type 'boolean' is not assignable to type 'ConcatArray<IRecipe>'.
382 this.recipes = [...this.recipes, ...this._getDevRecipes()]; 382 // eslint-disable-next-line unicorn/prefer-spread
383 this.recipes = this.recipes.concat(this._getDevRecipes());
383 384
384 debug('StubServerApi::getInstalledRecipes resolves', this.recipes); 385 debug('StubServerApi::getInstalledRecipes resolves', this.recipes);
385 return this.recipes; 386 return this.recipes;