Skip to content

Commit

Permalink
fix: fix stories with new accessor value
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneburdet committed Dec 10, 2024
1 parent c3334ba commit c5ea26a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions packages/visualizations-react/stories/Table/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,6 @@ export const columns: Column[] = [
r?.geopoint && `longitude: ${r.geopoint[0]}, latitude: ${r.geopoint[1]}`,
}),
},
{
title: 'Région',
key: 'region',
dataFormat: 'short-text',
},
{
title: 'Geo shapes',
key: 'geoshape',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
let tooltipContent: Content;
let showMap = false;
$: console.log(value);
</script>

<div
Expand All @@ -33,7 +35,9 @@
}}
>
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="label">{valueToLabel && valueToLabel(value)}</div>
{#if valueToLabel && valueToLabel(value)}
<div class="label">{valueToLabel(value)}</div>
{/if}
<!-- To run a WebGl instance only when tooltip is visible -->
{#if showMap && value && mapOptions}
<div bind:this={tooltipContent} class="table-cell-map-container">
Expand Down

0 comments on commit c5ea26a

Please sign in to comment.