From f42bb30f7cf302569c9e305529def3f04704f021 Mon Sep 17 00:00:00 2001 From: Alexandru Date: Mon, 4 Dec 2023 10:25:47 +0100 Subject: [PATCH 1/2] improve: LDP-2332: Add default for settings and display_title --- src/runtime/composables/useDrupalCe.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/composables/useDrupalCe.ts b/src/runtime/composables/useDrupalCe.ts index 6e50e0b..9855e13 100644 --- a/src/runtime/composables/useDrupalCe.ts +++ b/src/runtime/composables/useDrupalCe.ts @@ -40,6 +40,9 @@ export const useDrupalCe = () => { primary: [], secondary: [] }, + settings: { + display_title: '0' + }, messages: [], metatags: { meta: [], From 138e55bdadf4360b50c4cae0cdc2a6ffe8e70ded Mon Sep 17 00:00:00 2001 From: Alexandru Date: Tue, 5 Dec 2023 16:07:49 +0100 Subject: [PATCH 2/2] LDP-2332: Add default for settings --- src/runtime/composables/useDrupalCe.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/runtime/composables/useDrupalCe.ts b/src/runtime/composables/useDrupalCe.ts index 9855e13..0b9dfb3 100644 --- a/src/runtime/composables/useDrupalCe.ts +++ b/src/runtime/composables/useDrupalCe.ts @@ -40,9 +40,7 @@ export const useDrupalCe = () => { primary: [], secondary: [] }, - settings: { - display_title: '0' - }, + settings: {}, messages: [], metatags: { meta: [],