Skip to content

Commit

Permalink
update default value
Browse files Browse the repository at this point in the history
  • Loading branch information
ryu-man committed Nov 24, 2023
1 parent cab60b1 commit d8c0460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/table/Table.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<Table {...args} {data} bind:selectedItems let:data>
<thead>
<Tr header>
<TdSelection type="radio" hidden />
<TdSelection type="radio" />
<Th sortBy={(d) => d.file.desc}>File</Th>
<Th sortBy={(d) => d.author}>Author</Th>
<Th sortBy={(d) => d.last_updated}>Last updated</Th>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/table/TdSelection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// export let checked: boolean | 'mixed' = false;
export let type: 'checkbox' | 'radio' = 'checkbox';
export let subtle = false;
export let hidden = false;
export let hidden = rowContext.header;
function onCheckboxChange(ev: Event) {
const currentTarget = ev.currentTarget as HTMLInputElement;
Expand Down

0 comments on commit d8c0460

Please sign in to comment.