File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 55 Output ,
66 EventEmitter
77} from "@angular/core" ;
8- import { Subscription , fromEvent , BehaviorSubject } from "rxjs" ;
8+ import { Subscription , fromEvent } from "rxjs" ;
99
1010import { TableModel } from "./table.module" ;
1111import { TableHeaderItem } from "./table-header-item.class" ;
@@ -529,19 +529,19 @@ export class Table {
529529 @Input ( )
530530 set translations ( value ) {
531531 if ( value . FILTER ) {
532- this . filterTitle = new BehaviorSubject ( value . FILTER ) ;
532+ this . filterTitle . next ( value . FILTER ) ;
533533 }
534534 if ( value . END_OF_DATA ) {
535- this . endOfDataText = new BehaviorSubject ( value . END_OF_DATA ) ;
535+ this . endOfDataText . next ( value . END_OF_DATA ) ;
536536 }
537537 if ( value . SCROLL_TOP ) {
538- this . scrollTopText = new BehaviorSubject ( value . SCROLL_TOP ) ;
538+ this . scrollTopText . next ( value . SCROLL_TOP ) ;
539539 }
540540 if ( value . CHECKBOX_HEADER ) {
541- this . checkboxHeaderLabel = new BehaviorSubject ( value . CHECKBOX_HEADER ) ;
541+ this . checkboxHeaderLabel . next ( value . CHECKBOX_HEADER ) ;
542542 }
543543 if ( value . CHECKBOX_ROW ) {
544- this . checkboxRowLabel = new BehaviorSubject ( value . CHECKBOX_ROW ) ;
544+ this . checkboxRowLabel . next ( value . CHECKBOX_ROW ) ;
545545 }
546546 }
547547
You can’t perform that action at this time.
0 commit comments