From e0c90037fbedcf3d383c4ebcb448fefb6869f7f5 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Thu, 16 May 2024 10:01:32 -0400 Subject: [PATCH] fix: swap undefined to null --- web/store/unraidApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/store/unraidApi.ts b/web/store/unraidApi.ts index 859e15061..0102a8720 100644 --- a/web/store/unraidApi.ts +++ b/web/store/unraidApi.ts @@ -210,7 +210,7 @@ export const useUnraidApiStore = defineStore("unraidApi", () => { unraidApiClient.value.stop(); // (wsLink.value as any).subscriptionClient.close(); // needed if we start using subscriptions } - unraidApiClient.value = undefined; + unraidApiClient.value = null; unraidApiStatus.value = "offline"; }; /**