Add config values to home overview

This commit is contained in:
Gabe Kangas
2020-10-28 18:59:17 -07:00
parent df14a55429
commit 9689f66d2e
2 changed files with 19 additions and 11 deletions

View File

@@ -15,5 +15,5 @@ export function formatIPAddress(ipAddress: string): string {
// check if obj is {}
export function isEmptyObject(obj) {
return Object.keys(obj).length === 0;
return !obj || Object.keys(obj).length === 0;
}