Skip to content

Commit

Permalink
Merge pull request #18 from poirazis/develop
Browse files Browse the repository at this point in the history
2.0.10-alpha
  • Loading branch information
poirazis authored Jan 22, 2024
2 parents f1aefdd + af18f5a commit 380abc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bb-component-SuperTableColumn",
"version": "2.0.9-alpha",
"version": "2.0.10-alpha",
"description": "Customizable columns for the SuperTable Component",
"author": "Michael Poirazi",
"license": "MIT",
Expand Down
5 changes: 3 additions & 2 deletions src/Component.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,14 @@
{#if !tableOptions}
<p> Super Columns can only be placed inside a Super Table </p>
{:else if !isValid(field)}
<FieldSelect bind:value={localField} schema={$stbData?.schema ?? {} } />
<div style:margin={"0.5rem 1rem"} >
<FieldSelect bind:value={localField} schema={$stbData?.schema ?? {} } />
</div>
{:else}
<SuperTableColumn
{columnOptions}
{stbState}>
<slot />
</SuperTableColumn>
{/if}
</div>

0 comments on commit 380abc2

Please sign in to comment.