From 4f0ac1eb37c8874d71f711a6b84d9ea3b6e03098 Mon Sep 17 00:00:00 2001 From: Egbert Bouman Date: Fri, 13 Dec 2024 15:43:18 +0100 Subject: [PATCH] Fix updating guiSettings --- src/tribler/ui/src/services/tribler.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tribler/ui/src/services/tribler.service.ts b/src/tribler/ui/src/services/tribler.service.ts index 3daa951e9b..5e056554ed 100644 --- a/src/tribler/ui/src/services/tribler.service.ts +++ b/src/tribler/ui/src/services/tribler.service.ts @@ -294,7 +294,7 @@ export class TriblerService { async setSettings(settings: Partial): Promise { try { - this.guiSettings = {...settings?.ui, ...this.guiSettings}; + this.guiSettings = {...this.guiSettings, ...settings?.ui}; return (await this.http.post('/settings', settings)).data.modified; } catch (error) { return formatAxiosError(error as Error | AxiosError);