Skip to content

Commit 770cec5

Browse files
Vasil MihalkovVasil Mihalkov
authored andcommitted
fix(col): Fix failing tests #6004
1 parent 90634ca commit 770cec5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/column.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
296296
* ```
297297
* @memberof IgxColumnComponent
298298
*/
299-
@notifyChanges()
300299
@WatchColumnChanges()
300+
@notifyChanges()
301301
@Input()
302302
public movable = false;
303303
/**

projects/igniteui-angular/src/lib/grids/watch-changes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ export function WatchColumnChanges(): PropertyDecorator {
4444
propDesc.set = function (this: any, val: any) {
4545
const init = this._init;
4646
const oldValue = this[key];
47+
originalSetter.call(this, val);
4748
if (val !== oldValue || (typeof val === 'object' && val === oldValue)) {
48-
originalSetter.call(this, val);
4949
if (this.rowIslandAPI.rowIsland) {
5050
this.rowIslandAPI.rowIsland.updateColumnList();
5151
}

0 commit comments

Comments
 (0)