Skip to content

Commit

Permalink
Fix [object object] for popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperengstrom committed Sep 6, 2024
1 parent 2e626d9 commit 5a9fbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxl-web/src/lib/components/DecoratedData.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
data-property={propertyName}
class={getStyleClasses(data)}
>
{#if shouldShowLabels()}
{#if shouldShowLabels() && typeof data._label === 'string'}
<svelte:element this={block ? 'div' : 'span'}>
<!-- Add inner span with inline-block to achieve first letter capitalization while still supporting inline whitespaces -->
<span
Expand Down

0 comments on commit 5a9fbf3

Please sign in to comment.