Skip to content

Commit f85c1d3

Browse files
committed
chore: update central connection local storage
1 parent cd04167 commit f85c1d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Shared/Helpers.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,14 +1087,14 @@ export const getCentralAPIHealthObjectFromLocalStorage = (): CentralAPILocalConf
10871087
return {
10881088
lastUpdatedDate: lastUpdatedDate || '',
10891089
updateCount: updateCount || 0,
1090-
isConnected: isConnected || null,
1090+
isConnected: isConnected || false,
10911091
}
10921092
} catch {
10931093
localStorage.removeItem(CENTRAL_API_LOCAL_STORAGE_KEY)
10941094
return {
10951095
lastUpdatedDate: '',
10961096
updateCount: 0,
1097-
isConnected: null,
1097+
isConnected: false,
10981098
}
10991099
}
11001100
}

0 commit comments

Comments
 (0)