Browse Source

Adds baseRef optional chain to isHidden

main
Keith Daulton 1 year ago
parent
commit
5b0d883d3a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/webviews/apps/shared/components/list/file-change-list-item.ts

+ 1
- 1
src/webviews/apps/shared/components/list/file-change-list-item.ts View File

@ -105,7 +105,7 @@ export class FileChangeListItem extends LitElement {
@state() @state()
get isHidden() { get isHidden() {
return this.baseRef.isHidden ?? 'false';
return this.baseRef?.isHidden ?? 'false';
} }
@state() @state()

Loading…
Cancel
Save