Default to empty string

file-group-page
bat 3 years ago
parent 8145729184
commit f795aa4308

@ -135,7 +135,7 @@ export class Page extends HTMLElement {
get body() {
try {
return localStorage.getItem(this.path)
return localStorage.getItem(this.path) ?? ''
} catch (err) {
console.error(err)
return ''

Loading…
Cancel
Save