Lubna842
Lubna842
Iam getting the following error while building angular app using --prod tag, otherwise it is working fine. Angular: V8. NullInjectorError: StaticInjectorError(l)[class{constructor(e,t){this._filterService=e,this._table=t,this.debounceTime=400,this.filterType=yy.ANYWHERE,this.caseSensitive=!1,this.initDebounceSubject()}ngDoCheck(){this._filterService.isChanged(this._oldExampleEntity,this.exampleEntity)&&(this._oldExampleEntity=this._filterService.toPlainJson(this.exampleEntity),this._exampleEntitySubject.next(void 0))}initDebounceSubject(){this._exampleEntitySubject=new ht(null),this._exampleEntitySubject.pipe(Ra(this.debounceTime)).subscribe(e=>{this.updateFilterPredicate()})}updateFilterPredicate(){const e=this.getMatDataSource();e&&(e.filterPredicate=this.getFilterPredicate(),e.filter=this.exampleEntity)}getFilterPredicate(){return this.customPredicate?this.customPredicate:e=>this._filterService.filterPredicate({example:this.exampleEntity,item:e},this.propertyOptions,{filterType:this.filterType,caseSensitive:this.caseSensitive})}getMatDataSource(){return this._table.dataSource}} -> e]: StaticInjectorError(Platform: core)[class{constructor(e,t){this._filterService=e,this._table=t,this.debounceTime=400,this.filterType=yy.ANYWHERE,this.caseSensitive=!1,this.initDebounceSubject()}ngDoCheck(){this._filterService.isChanged(this._oldExampleEntity,this.exampleEntity)&&(this._oldExampleEntity=this._filterService.toPlainJson(this.exampleEntity),this._exampleEntitySubject.next(void...