From c91fb7d5006e55d8f5e7848f317210eb38936c17 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 25 May 2021 08:21:28 +0100 Subject: [PATCH] Default logo URL in navigation component and add setting to hide logo --- packages/standard-components/manifest.json | 6 +++++ .../standard-components/src/Navigation.svelte | 22 ++++++++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/packages/standard-components/manifest.json b/packages/standard-components/manifest.json index a3fbc5aa52..050f1fe254 100644 --- a/packages/standard-components/manifest.json +++ b/packages/standard-components/manifest.json @@ -338,6 +338,12 @@ "type": "text", "label": "Logo URL", "key": "logoUrl" + }, + { + "type": "boolean", + "label": "Hide logo", + "key": "hideLogo", + "defaultValue": false } ] }, diff --git a/packages/standard-components/src/Navigation.svelte b/packages/standard-components/src/Navigation.svelte index b0f043b75c..43d8a0fa2a 100644 --- a/packages/standard-components/src/Navigation.svelte +++ b/packages/standard-components/src/Navigation.svelte @@ -5,16 +5,22 @@ const component = getContext("component") export let logoUrl + export let hideLogo