diff --git a/src/UIShell/GlobalHeader/Header.svelte b/src/UIShell/GlobalHeader/Header.svelte index dc684468..4275e87c 100644 --- a/src/UIShell/GlobalHeader/Header.svelte +++ b/src/UIShell/GlobalHeader/Header.svelte @@ -34,8 +34,9 @@ let winWidth = undefined; $: isSideNavOpen = winWidth >= 1056; - $: ariaLabel = - company + " " + (uiShellAriaLabel || $$props["aria-label"] || platformName); + $: ariaLabel = company + ? `${company} ` + : "" + (uiShellAriaLabel || $$props["aria-label"] || platformName); @@ -45,8 +46,11 @@ {/if} - {company} -  {platformName} + {#if company} + {company} +   + {/if} + {platformName} diff --git a/src/UIShell/UIShell.Story.svelte b/src/UIShell/UIShell.Story.svelte index 04f5883f..e09971b3 100644 --- a/src/UIShell/UIShell.Story.svelte +++ b/src/UIShell/UIShell.Story.svelte @@ -114,7 +114,7 @@ {#if story === 'header'} -
+
{:else if story === 'sidenav'}