Skip to content

Commit

Permalink
Fix reset view state with expanded cells.
Browse files Browse the repository at this point in the history
This bug goes out not with a whimper, but with a !

PiperOrigin-RevId: 526164286
  • Loading branch information
iftenney authored and LIT team committed Apr 21, 2023
1 parent 459a546 commit d74f2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lit_nlp/client/elements/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ export class DataTable extends ReactiveElement {
@computed
get isDefaultView() {
return this.sortName === undefined && this.columnFilterInfo.size === 0 &&
this.globalSearchText === '' && this.hasExpandedCells;
this.globalSearchText === '' && !this.hasExpandedCells;
}

@computed
Expand Down

0 comments on commit d74f2d6

Please sign in to comment.