Skip to content

Commit 181dec7

Browse files
committed
fix(uiGrid): syntax error, change variable name
1 parent f0f168c commit 181dec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/js/core/directives/ui-grid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
// ... and we have no pre-defined columns
7474
self.grid.options.columnDefs.length === 0 &&
7575
// ... but we DO have data
76-
n.length > 0
76+
newData.length > 0
7777
) {
7878
// ... then build the column definitions from the data that we have
7979
self.grid.buildColumnDefsFromData(n);

0 commit comments

Comments
 (0)