From 9020caa4e357a9bee872e580678d084dfff857a2 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 29 May 2021 23:02:00 +0100 Subject: [PATCH] Fixed bug causing error for adding navbar items to empty list --- src/components/Configuration/EditSiteMeta.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Configuration/EditSiteMeta.vue b/src/components/Configuration/EditSiteMeta.vue index abbf9d7b..e029fd1e 100644 --- a/src/components/Configuration/EditSiteMeta.vue +++ b/src/components/Configuration/EditSiteMeta.vue @@ -77,7 +77,7 @@ export default { title: this.config.pageInfo.title, description: this.config.pageInfo.description, footerText: this.config.pageInfo.footerText, - navLinks: this.config.pageInfo.navLinks, + navLinks: this.config.pageInfo.navLinks || [], }, }; },