Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Commit 26729e5

Browse files
m.ivanov4m.ivanov4
authored andcommitted
fix: object of possible undefined
1 parent 2e78e9d commit 26729e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/table-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-ru/ng-table-builder",
3-
"version": "0.22.0",
3+
"version": "0.23.0",
44
"license": "MIT",
55
"bugs": {
66
"url": "https://github.com/Angular-RU/ng-table-builder/issues"

projects/table-builder/src/lib/table/table-builder.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
(cdkDropListDropped)="drop($event)"
4242
[cdkDropListDisabled]="!accessDragging"
4343
[class.table-grid__native-scrollbar]="nativeScrollbar"
44-
[class.table-grid__scroll-offset]="viewPortInfo.scrollTop > 0"
44+
[class.table-grid__scroll-offset]="viewPortInfo?.scrollTop > 0"
4545
>
4646
<div class="table-grid__header-sticky" *ngIf="headerTemplate" #header>
4747
<ng-content select="ngx-header"></ng-content>

0 commit comments

Comments
 (0)