update header handling

This commit is contained in:
zefie
2025-08-11 18:24:10 -04:00
parent e4aac5933e
commit 51565b56a6
4 changed files with 23 additions and 14 deletions

View File

@@ -12,7 +12,9 @@ if (session_data.getSessionData("address_book") != null) {
data = ``
for (let i = 0; i < address_book.length; i++) {
data += address_book[i].name + '\0' + address_book[i].address + '\0'
};
};
} else {
session_data.setSessionData("address_book", [])
}
// TODO: Why does the address book have a blank/corrupt entry when empty?