Skip to content

Commit 41c80c0

Browse files
authored
Showcase: Fix Table selectable + sortable th state examples (#2602)
1 parent 5405e2a commit 41c80c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

showcase/app/templates/components/table.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@
14981498
<Hds::Table::ThSelectable
14991499
@selectionScope="col"
15001500
@isSelected={{bool1}}
1501-
@onClickSort={{if bool2 this.noop}}
1501+
@onClickSortBySelected={{if bool2 this.noop}}
15021502
/>
15031503
<H.Th>Lorem</H.Th>
15041504
</H.Tr>
@@ -1517,7 +1517,7 @@
15171517
<Hds::Table::ThSelectable
15181518
@selectionScope="col"
15191519
@isSelected={{bool1}}
1520-
@onClickSort={{if bool2 this.noop}}
1520+
@onClickSortBySelected={{if bool2 this.noop}}
15211521
mock-state-value="focus"
15221522
mock-state-selector="input"
15231523
/>
@@ -1549,7 +1549,7 @@
15491549
<Hds::Table::ThSelectable
15501550
@selectionScope="col"
15511551
@isSelected={{true}}
1552-
@onClickSort={{if bool this.noop}}
1552+
@onClickSortBySelected={{if bool this.noop}}
15531553
@didInsert={{this.mockIndeterminateState}}
15541554
/>
15551555
<H.Th>Lorem</H.Th>
@@ -1574,7 +1574,7 @@
15741574
@selectionScope="col"
15751575
@isSelected={{true}}
15761576
@didInsert={{this.mockIndeterminateState}}
1577-
@onClickSort={{if bool this.noop}}
1577+
@onClickSortBySelected={{if bool this.noop}}
15781578
mock-state-value="focus"
15791579
mock-state-selector="input"
15801580
/>

0 commit comments

Comments
 (0)