diff options
author | 2024-04-16 13:20:09 +0530 | |
---|---|---|
committer | 2024-04-16 13:20:09 +0530 | |
commit | 962804e4dc0933cd683f2ee115efa7fb70a1a791 (patch) | |
tree | be540511b7dfab7b0a87d713dbec5c3fa3a7c976 /src | |
parent | 6.7.3-nightly.11 [skip ci] (diff) | |
download | ferdium-app-962804e4dc0933cd683f2ee115efa7fb70a1a791.tar.gz ferdium-app-962804e4dc0933cd683f2ee115efa7fb70a1a791.tar.zst ferdium-app-962804e4dc0933cd683f2ee115efa7fb70a1a791.zip |
Partially revert cbba61b40112b41c43285a1a279969e68df1a2e9.
to fix 'login' and 'add new service' screens
Diffstat (limited to 'src')
-rw-r--r-- | src/api/server/ServerApi.ts | 3 |
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; |