Skip to content

Commit bbda255

Browse files
committed
Merge pull request #4963 from mattslocum/patch-1
fix(core): Fix watcher handler columnDefs assignment
2 parents c1a07d2 + 33da5f0 commit bbda255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/core/directives/ui-grid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
function columnDefsWatchFunction(n, o) {
6969
if (n && n !== o) {
70-
self.grid.options.columnDefs = n;
70+
self.grid.options.columnDefs = $scope.uiGrid.columnDefs;
7171
self.grid.buildColumns({ orderByColumnDefs: true })
7272
.then(function(){
7373

0 commit comments

Comments
 (0)